49 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/light/tsl2583.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: AMS/TAOS Ambient Light Sensor (ALS)8 9maintainers:10 - Brian Masney <masneyb@onstation.org>11 12description: |13 Ambient light sensing with an i2c interface.14 15properties:16 compatible:17 enum:18 - amstaos,tsl258019 - amstaos,tsl258120 - amstaos,tsl258321 22 reg:23 maxItems: 124 25 interrupts:26 maxItems: 127 28 vcc-supply:29 description: Regulator that provides power to the sensor30 31required:32 - compatible33 - reg34 35additionalProperties: false36 37examples:38 - |39 i2c {40 #address-cells = <1>;41 #size-cells = <0>;42 43 light-sensor@29 {44 compatible = "amstaos,tsl2581";45 reg = <0x29>;46 };47 };48...49