xref: /linux/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90614.yaml (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
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
7title: Melexis MLX90614 contactless IR temperature sensor
8
9maintainers:
10  - Peter Meerwald <pmeerw@pmeerw.net>
11  - Crt Mori <cmo@melexis.com>
12
13description: |
14  http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
15
16properties:
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
31required:
32  - compatible
33  - reg
34
35additionalProperties: false
36
37examples:
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...
51