]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/iio/light/dynaimage,al3320a.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / iio / light / dynaimage,al3320a.yaml
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,al3320a.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Dyna-Image AL3320A sensor
8
9 maintainers:
10 - David Heidelberg <david@ixit.cz>
11
12 properties:
13 compatible:
14 const: dynaimage,al3320a
15
16 reg:
17 maxItems: 1
18
19 interrupts:
20 maxItems: 1
21
22 vdd-supply:
23 description: Regulator that provides power to the sensor
24
25 required:
26 - compatible
27 - reg
28
29 additionalProperties: false
30
31 examples:
32 - |
33 #include <dt-bindings/interrupt-controller/irq.h>
34
35 i2c {
36 #address-cells = <1>;
37 #size-cells = <0>;
38
39 light-sensor@1c {
40 compatible = "dynaimage,al3320a";
41 reg = <0x1c>;
42 vdd-supply = <&vdd_reg>;
43 interrupts = <0 99 4>;
44 };
45 };