xref: /linux/Documentation/devicetree/bindings/iio/light/tsl2583.yaml (revision ead5d1f4d877e92c051e1a1ade623d0d30e71619)
140e64432SBrian Masney# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
240e64432SBrian Masney%YAML 1.2
340e64432SBrian Masney---
440e64432SBrian Masney$id: http://devicetree.org/schemas/iio/light/tsl2583.yaml#
540e64432SBrian Masney$schema: http://devicetree.org/meta-schemas/core.yaml#
640e64432SBrian Masney
740e64432SBrian Masneytitle: AMS/TAOS Ambient Light Sensor (ALS)
840e64432SBrian Masney
940e64432SBrian Masneymaintainers:
1040e64432SBrian Masney  - Brian Masney <masneyb@onstation.org>
1140e64432SBrian Masney
1240e64432SBrian Masneydescription: |
1340e64432SBrian Masney  Ambient light sensing with an i2c interface.
1440e64432SBrian Masney
1540e64432SBrian Masneyproperties:
1640e64432SBrian Masney  compatible:
1740e64432SBrian Masney    enum:
1840e64432SBrian Masney      - amstaos,tsl2580
1940e64432SBrian Masney      - amstaos,tsl2581
2040e64432SBrian Masney      - amstaos,tsl2583
2140e64432SBrian Masney
2240e64432SBrian Masney  reg:
2340e64432SBrian Masney    maxItems: 1
2440e64432SBrian Masney
2540e64432SBrian Masney  interrupts:
2640e64432SBrian Masney    maxItems: 1
2740e64432SBrian Masney
2840e64432SBrian Masney  vcc-supply:
2940e64432SBrian Masney    description: Regulator that provides power to the sensor
3040e64432SBrian Masney
3140e64432SBrian Masneyrequired:
3240e64432SBrian Masney  - compatible
3340e64432SBrian Masney  - reg
3440e64432SBrian Masney
35*7f464532SRob HerringadditionalProperties: false
36*7f464532SRob Herring
3740e64432SBrian Masneyexamples:
3840e64432SBrian Masney  - |
3940e64432SBrian Masney    i2c {
4040e64432SBrian Masney        #address-cells = <1>;
4140e64432SBrian Masney        #size-cells = <0>;
4240e64432SBrian Masney
4340e64432SBrian Masney        light-sensor@29 {
4440e64432SBrian Masney                compatible = "amstaos,tsl2581";
4540e64432SBrian Masney                reg = <0x29>;
4640e64432SBrian Masney        };
4740e64432SBrian Masney    };
4840e64432SBrian Masney...
49