59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/light/isl29018.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: |8 Intersil 29018/29023/29035 Ambient Light, Infrared Light, and Proximity Sensor9 10maintainers:11 - Brian Masney <masneyb@onstation.org>12 13description: |14 Ambient and infrared light sensing with proximity detection over an i2c15 interface.16 17 https://www.renesas.com/us/en/www/doc/datasheet/isl29018.pdf18 https://www.renesas.com/us/en/www/doc/datasheet/isl29023.pdf19 https://www.renesas.com/us/en/www/doc/datasheet/isl29035.pdf20 21properties:22 compatible:23 enum:24 - isil,isl2901825 - isil,isl2902326 - isil,isl2903527 28 reg:29 maxItems: 130 31 interrupts:32 maxItems: 133 34 vcc-supply:35 description: Regulator that provides power to the sensor36 37required:38 - compatible39 - reg40 41additionalProperties: false42 43examples:44 - |45 #include <dt-bindings/interrupt-controller/irq.h>46 47 i2c {48 49 #address-cells = <1>;50 #size-cells = <0>;51 52 sensor@44 {53 compatible = "isil,isl29018";54 reg = <0x44>;55 interrupts-extended = <&msmgpio 61 IRQ_TYPE_LEVEL_HIGH>;56 };57 };58...59