Merge tag 'irqchip-fixes-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / light / noa1305.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/noa1305.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ON Semiconductor NOA1305 Ambient Light Sensor
8
9 maintainers:
10   - Martyn Welch <martyn.welch@collabora.com>
11
12 description: |
13   Ambient sensing with an i2c interface.
14
15   https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF
16
17 properties:
18   compatible:
19     enum:
20       - onnn,noa1305
21
22   reg:
23     maxItems: 1
24
25   vin-supply:
26     description: Regulator that provides power to the sensor
27
28 required:
29   - compatible
30   - reg
31
32 examples:
33   - |
34     i2c {
35
36         #address-cells = <1>;
37         #size-cells = <0>;
38
39         light@39 {
40                 compatible = "onnn,noa1305";
41                 reg = <0x39>;
42         };
43     };
44 ...