0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/light/isl29018.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: |
0008 Intersil 29018/29023/29035 Ambient Light, Infrared Light, and Proximity Sensor
0009
0010 maintainers:
0011 - Brian Masney <masneyb@onstation.org>
0012
0013 description: |
0014 Ambient and infrared light sensing with proximity detection over an i2c
0015 interface.
0016
0017 https://www.renesas.com/us/en/www/doc/datasheet/isl29018.pdf
0018 https://www.renesas.com/us/en/www/doc/datasheet/isl29023.pdf
0019 https://www.renesas.com/us/en/www/doc/datasheet/isl29035.pdf
0020
0021 properties:
0022 compatible:
0023 enum:
0024 - isil,isl29018
0025 - isil,isl29023
0026 - isil,isl29035
0027
0028 reg:
0029 maxItems: 1
0030
0031 interrupts:
0032 maxItems: 1
0033
0034 vcc-supply:
0035 description: Regulator that provides power to the sensor
0036
0037 required:
0038 - compatible
0039 - reg
0040
0041 additionalProperties: false
0042
0043 examples:
0044 - |
0045 #include <dt-bindings/interrupt-controller/irq.h>
0046
0047 i2c {
0048
0049 #address-cells = <1>;
0050 #size-cells = <0>;
0051
0052 sensor@44 {
0053 compatible = "isil,isl29018";
0054 reg = <0x44>;
0055 interrupts-extended = <&msmgpio 61 IRQ_TYPE_LEVEL_HIGH>;
0056 };
0057 };
0058 ...