gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / light / dynaimage,al3010.yaml
blobf671edda66410c882023b27cdfc3e31b1b53a120
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/dynaimage,al3010.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dyna-Image AL3010 sensor
9 maintainers:
10   - David Heidelberg <david@ixit.cz>
12 properties:
13   compatible:
14     const: dynaimage,al3010
16   reg:
17     maxItems: 1
19   interrupts:
20     maxItems: 1
22   vdd-supply:
23     description: Regulator that provides power to the sensor
25 required:
26   - compatible
27   - reg
29 examples:
30   - |
31     #include <dt-bindings/interrupt-controller/irq.h>
33     i2c {
34         #address-cells = <1>;
35         #size-cells = <0>;
37         light-sensor@1c {
38             compatible = "dynaimage,al3010";
39             reg = <0x1c>;
40             vdd-supply = <&vdd_reg>;
41             interrupts = <0 99 4>;
42         };
43     };