1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/light/tsl2583.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: AMS/TAOS Ambient Light Sensor (ALS) 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Brian Masney <masneyb@onstation.org> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot Ambient light sensing with an i2c interface. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotproperties: 16*c66ec88fSEmmanuel Vadot compatible: 17*c66ec88fSEmmanuel Vadot enum: 18*c66ec88fSEmmanuel Vadot - amstaos,tsl2580 19*c66ec88fSEmmanuel Vadot - amstaos,tsl2581 20*c66ec88fSEmmanuel Vadot - amstaos,tsl2583 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot reg: 23*c66ec88fSEmmanuel Vadot maxItems: 1 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot interrupts: 26*c66ec88fSEmmanuel Vadot maxItems: 1 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot vcc-supply: 29*c66ec88fSEmmanuel Vadot description: Regulator that provides power to the sensor 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadotrequired: 32*c66ec88fSEmmanuel Vadot - compatible 33*c66ec88fSEmmanuel Vadot - reg 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel VadotadditionalProperties: false 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadotexamples: 38*c66ec88fSEmmanuel Vadot - | 39*c66ec88fSEmmanuel Vadot i2c { 40*c66ec88fSEmmanuel Vadot #address-cells = <1>; 41*c66ec88fSEmmanuel Vadot #size-cells = <0>; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot light-sensor@29 { 44*c66ec88fSEmmanuel Vadot compatible = "amstaos,tsl2581"; 45*c66ec88fSEmmanuel Vadot reg = <0x29>; 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot }; 48*c66ec88fSEmmanuel Vadot... 49