gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / light / noa1305.yaml
blobfe7bfe1adbda5b3f1a5d01287679c51c4eea4948
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#
7 title: ON Semiconductor NOA1305 Ambient Light Sensor
9 maintainers:
10   - Martyn Welch <martyn.welch@collabora.com>
12 description: |
13   Ambient sensing with an i2c interface.
15   https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF
17 properties:
18   compatible:
19     enum:
20       - onnn,noa1305
22   reg:
23     maxItems: 1
25   vin-supply:
26     description: Regulator that provides power to the sensor
28 required:
29   - compatible
30   - reg
32 additionalProperties: false
34 examples:
35   - |
36     i2c {
38         #address-cells = <1>;
39         #size-cells = <0>;
41         light@39 {
42                 compatible = "onnn,noa1305";
43                 reg = <0x39>;
44         };
45     };
46 ...