Merge tag 'docs-5.11-2' of git://git.lwn.net/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / light / st,vl6180.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/st,vl6180.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: STMicro VL6180 ALS, range and proximity sensor
8
9 maintainers:
10   - Manivannan Sadhasivam <manivannanece23@gmail.com>
11   - Peter Meerwald-Stadler <pmeerw@pmeerw.net>
12
13 description: |
14   Proximity sensing module incorporating time of flight sensor
15   Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf
16
17 properties:
18   compatible:
19     const: st,vl6180
20
21   reg:
22     maxItems: 1
23
24   interrupts:
25     maxItems: 1
26
27 additionalProperties: false
28
29 required:
30   - compatible
31   - reg
32
33 examples:
34   - |
35     #include <dt-bindings/interrupt-controller/irq.h>
36     i2c {
37         #address-cells = <1>;
38         #size-cells = <0>;
39
40         proximity@29 {
41             compatible = "st,vl6180";
42             reg = <0x29>;
43         };
44     };
45 ...