Merge tag 'for-5.3/dm-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / light / tsl2583.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/tsl2583.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: AMS/TAOS Ambient Light Sensor (ALS)
8
9 maintainers:
10   - Brian Masney <masneyb@onstation.org>
11
12 description: |
13   Ambient light sensing with an i2c interface.
14
15 properties:
16   compatible:
17     enum:
18       - amstaos,tsl2580
19       - amstaos,tsl2581
20       - amstaos,tsl2583
21
22   reg:
23     maxItems: 1
24
25   interrupts:
26     maxItems: 1
27
28   vcc-supply:
29     description: Regulator that provides power to the sensor
30
31 required:
32   - compatible
33   - reg
34
35 examples:
36   - |
37     i2c {
38         #address-cells = <1>;
39         #size-cells = <0>;
40
41         light-sensor@29 {
42                 compatible = "amstaos,tsl2581";
43                 reg = <0x29>;
44         };
45     };
46 ...