gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / light / bh1750.yaml
blob1a88b3c253d5bb7cced4c368e8fe7257c8add508
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/bh1750.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BH1750 ambient light sensor
9 maintainers:
10   - Tomasz Duszynski <tduszyns@gmail.com>
12 description: |
13   Ambient light sensor with an i2c interface.
15 properties:
16   compatible:
17     enum:
18       - rohm,bh1710
19       - rohm,bh1715
20       - rohm,bh1721
21       - rohm,bh1750
22       - rohm,bh1751
24   reg:
25     maxItems: 1
27 required:
28   - compatible
29   - reg
31 additionalProperties: false
33 examples:
34   - |
35     i2c {
36       #address-cells = <1>;
37       #size-cells = <0>;
39       light-sensor@23 {
40         compatible = "rohm,bh1750";
41         reg = <0x23>;
42       };
43     };
45 ...