Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / light / st,vl6180.yaml
blob27c36ab7990d3673ea01f74976946711512ec2fb
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#
7 title: STMicro VL6180 ALS, range and proximity sensor
9 maintainers:
10   - Manivannan Sadhasivam <manivannanece23@gmail.com>
11   - Peter Meerwald-Stadler <pmeerw@pmeerw.net>
13 description: |
14   Proximity sensing module incorporating time of flight sensor
15   Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf
17 properties:
18   compatible:
19     const: st,vl6180
21   reg:
22     maxItems: 1
24   interrupts:
25     maxItems: 1
27 additionalProperties: false
29 required:
30   - compatible
31   - reg
33 examples:
34   - |
35     #include <dt-bindings/interrupt-controller/irq.h>
36     i2c {
37         #address-cells = <1>;
38         #size-cells = <0>;
40         proximity@29 {
41             compatible = "st,vl6180";
42             reg = <0x29>;
43         };
44     };
45 ...