WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / proximity / st,vl53l0x.yaml
blob656460d9d8c816266eced865802cecbac6b94a96
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/st,vl53l0x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST VL53L0X ToF ranging sensor
9 maintainers:
10   - Song Qiang <songqiang1304521@gmail.com>
12 properties:
13   compatible:
14     const: st,vl53l0x
16   reg:
17     maxItems: 1
19   interrupts:
20     maxItems: 1
22 required:
23   - compatible
24   - reg
26 additionalProperties: false
28 examples:
29   - |
30     #include <dt-bindings/interrupt-controller/irq.h>
31     i2c {
32         #address-cells = <1>;
33         #size-cells = <0>;
35         proximity@29 {
36             compatible = "st,vl53l0x";
37             reg = <0x29>;
38             interrupt-parent = <&gpio>;
39             interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
40         };
41     };
42 ...