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/MLX90615 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    enum:
19      - melexis,mlx90614
20      - melexis,mlx90615
21
22  reg:
23    maxItems: 1
24
25  wakeup-gpios:
26    description:
27      GPIO connected to the SDA line to hold low in order to wake up the
28      device.  In normal operation, the GPIO is set as input and will
29      not interfere in I2C communication.  There is no need for a GPIO
30      driving the SCL line.  If no GPIO is given, power management is disabled.
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/gpio/gpio.h>
42    i2c {
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        temp-sensor@5a {
47            compatible = "melexis,mlx90614";
48            reg = <0x5a>;
49            wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
50        };
51    };
52...
53