Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / temperature / melexis,mlx90614.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Melexis MLX90614 contactless IR temperature sensor
8
9 maintainers:
10   - Peter Meerwald <pmeerw@pmeerw.net>
11   - Crt Mori <cmo@melexis.com>
12
13 description: |
14   http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
15
16 properties:
17   compatible:
18     const: melexis,mlx90614
19
20   reg:
21     maxItems: 1
22
23   wakeup-gpios:
24     description:
25       GPIO connected to the SDA line to hold low in order to wake up the
26       device.  In normal operation, the GPIO is set as input and will
27       not interfere in I2C communication.  There is no need for a GPIO
28       driving the SCL line.  If no GPIO is given, power management is disabled.
29     maxItems: 1
30
31 required:
32   - compatible
33   - reg
34
35 additionalProperties: false
36
37 examples:
38   - |
39     #include <dt-bindings/gpio/gpio.h>
40     i2c {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         temp-sensor@5a {
45             compatible = "melexis,mlx90614";
46             reg = <0x5a>;
47             wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
48         };
49     };
50 ...