1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/light/tsl2772.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AMS/TAOS Ambient Light Sensor (ALS) and Proximity Detector
10 - Brian Masney <masneyb@onstation.org>
13 Ambient light sensing and proximity detection with an i2c interface.
14 https://ams.com/documents/20143/36005/TSL2772_DS000181_2-00.pdf
34 amstaos,proximity-diodes:
35 description: Proximity diodes to enable
36 $ref: /schemas/types.yaml#/definitions/uint32-array
47 description: Current for the proximity LED
55 description: Regulator that provides power to the sensor
58 description: Regulator that provides power to the bus
64 additionalProperties: false
68 #include <dt-bindings/interrupt-controller/irq.h>
75 compatible = "amstaos,tsl2772";
77 interrupts-extended = <&msmgpio 61 IRQ_TYPE_EDGE_FALLING>;
78 vdd-supply = <&pm8941_l17>;
79 vddio-supply = <&pm8941_lvs1>;
80 amstaos,proximity-diodes = <0>;
81 led-max-microamp = <100000>;