1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/tempera 4 $id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90614.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Melexis MLX90614/MLX90615 contactless I 7 title: Melexis MLX90614/MLX90615 contactless IR temperature sensor 8 8 9 maintainers: 9 maintainers: 10 - Peter Meerwald <pmeerw@pmeerw.net> 10 - Peter Meerwald <pmeerw@pmeerw.net> 11 - Crt Mori <cmo@melexis.com> 11 - Crt Mori <cmo@melexis.com> 12 12 13 description: | 13 description: | 14 http://melexis.com/Infrared-Thermometer-Sens 14 http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - melexis,mlx90614 19 - melexis,mlx90614 20 - melexis,mlx90615 20 - melexis,mlx90615 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 wakeup-gpios: 25 wakeup-gpios: 26 description: 26 description: 27 GPIO connected to the SDA line to hold l 27 GPIO connected to the SDA line to hold low in order to wake up the 28 device. In normal operation, the GPIO i 28 device. In normal operation, the GPIO is set as input and will 29 not interfere in I2C communication. The 29 not interfere in I2C communication. There is no need for a GPIO 30 driving the SCL line. If no GPIO is giv 30 driving the SCL line. If no GPIO is given, power management is disabled. 31 maxItems: 1 31 maxItems: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - reg 35 - reg 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/gpio/gpio.h> 42 i2c { 42 i2c { 43 #address-cells = <1>; 43 #address-cells = <1>; 44 #size-cells = <0>; 44 #size-cells = <0>; 45 45 46 temp-sensor@5a { 46 temp-sensor@5a { 47 compatible = "melexis,mlx90614"; 47 compatible = "melexis,mlx90614"; 48 reg = <0x5a>; 48 reg = <0x5a>; 49 wakeup-gpios = <&gpio0 2 GPIO_ACTI 49 wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; 50 }; 50 }; 51 }; 51 }; 52 ... 52 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.