xref: /freebsd/sys/contrib/device-tree/Bindings/iio/temperature/melexis,mlx90614.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
7*f126890aSEmmanuel Vadottitle: Melexis MLX90614/MLX90615 contactless IR temperature sensor
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Peter Meerwald <pmeerw@pmeerw.net>
115def4c47SEmmanuel Vadot  - Crt Mori <cmo@melexis.com>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotdescription: |
145def4c47SEmmanuel Vadot  http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel Vadotproperties:
175def4c47SEmmanuel Vadot  compatible:
18*f126890aSEmmanuel Vadot    enum:
19*f126890aSEmmanuel Vadot      - melexis,mlx90614
20*f126890aSEmmanuel Vadot      - melexis,mlx90615
215def4c47SEmmanuel Vadot
225def4c47SEmmanuel Vadot  reg:
235def4c47SEmmanuel Vadot    maxItems: 1
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadot  wakeup-gpios:
265def4c47SEmmanuel Vadot    description:
275def4c47SEmmanuel Vadot      GPIO connected to the SDA line to hold low in order to wake up the
285def4c47SEmmanuel Vadot      device.  In normal operation, the GPIO is set as input and will
295def4c47SEmmanuel Vadot      not interfere in I2C communication.  There is no need for a GPIO
305def4c47SEmmanuel Vadot      driving the SCL line.  If no GPIO is given, power management is disabled.
315def4c47SEmmanuel Vadot    maxItems: 1
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadotrequired:
345def4c47SEmmanuel Vadot  - compatible
355def4c47SEmmanuel Vadot  - reg
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel VadotadditionalProperties: false
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadotexamples:
405def4c47SEmmanuel Vadot  - |
415def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
425def4c47SEmmanuel Vadot    i2c {
435def4c47SEmmanuel Vadot        #address-cells = <1>;
445def4c47SEmmanuel Vadot        #size-cells = <0>;
455def4c47SEmmanuel Vadot
465def4c47SEmmanuel Vadot        temp-sensor@5a {
475def4c47SEmmanuel Vadot            compatible = "melexis,mlx90614";
485def4c47SEmmanuel Vadot            reg = <0x5a>;
495def4c47SEmmanuel Vadot            wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
505def4c47SEmmanuel Vadot        };
515def4c47SEmmanuel Vadot    };
525def4c47SEmmanuel Vadot...
53