0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/light/tsl2583.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: AMS/TAOS Ambient Light Sensor (ALS)
0008
0009 maintainers:
0010 - Brian Masney <masneyb@onstation.org>
0011
0012 description: |
0013 Ambient light sensing with an i2c interface.
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - amstaos,tsl2580
0019 - amstaos,tsl2581
0020 - amstaos,tsl2583
0021
0022 reg:
0023 maxItems: 1
0024
0025 interrupts:
0026 maxItems: 1
0027
0028 vcc-supply:
0029 description: Regulator that provides power to the sensor
0030
0031 required:
0032 - compatible
0033 - reg
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 i2c {
0040 #address-cells = <1>;
0041 #size-cells = <0>;
0042
0043 light-sensor@29 {
0044 compatible = "amstaos,tsl2581";
0045 reg = <0x29>;
0046 };
0047 };
0048 ...