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