1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
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 Sensor
9
10maintainers:
11  - Brian Masney <masneyb@onstation.org>
12
13description: |
14  Ambient and infrared light sensing with proximity detection over an i2c
15  interface.
16
17  https://www.renesas.com/us/en/www/doc/datasheet/isl29018.pdf
18  https://www.renesas.com/us/en/www/doc/datasheet/isl29023.pdf
19  https://www.renesas.com/us/en/www/doc/datasheet/isl29035.pdf
20
21properties:
22  compatible:
23    enum:
24      - isil,isl29018
25      - isil,isl29023
26      - isil,isl29035
27
28  reg:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 1
33
34  vcc-supply:
35    description: Regulator that provides power to the sensor
36
37required:
38  - compatible
39  - reg
40
41additionalProperties: false
42
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