brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 654d31f Raw
53 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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 sensor8 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.aspx15 16properties:17  compatible:18    enum:19      - melexis,mlx9061420      - melexis,mlx9061521 22  reg:23    maxItems: 124 25  wakeup-gpios:26    description:27      GPIO connected to the SDA line to hold low in order to wake up the28      device.  In normal operation, the GPIO is set as input and will29      not interfere in I2C communication.  There is no need for a GPIO30      driving the SCL line.  If no GPIO is given, power management is disabled.31    maxItems: 132 33required:34  - compatible35  - reg36 37additionalProperties: false38 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