diff options
author | 2020-09-16 10:44:57 +0300 | |
---|---|---|
committer | 2020-09-21 18:41:35 +0100 | |
commit | 58601d102dc336c89cba5b3d8e3f89136edf7414 (patch) | |
tree | 59d434cc1f9750691697ed0f3d71688b035ec5ab /Documentation/devicetree/bindings/iio | |
parent | iio:health:max30102: Drop of_match_ptr and use generic fw accessors (diff) | |
download | linux-58601d102dc336c89cba5b3d8e3f89136edf7414.tar.gz linux-58601d102dc336c89cba5b3d8e3f89136edf7414.tar.bz2 linux-58601d102dc336c89cba5b3d8e3f89136edf7414.zip |
dt-bindings: iio: proximity: vl53l0x: Add IRQ support
Since IRQ support was added to the driver, update bindings accordingly.
Signed-off-by: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
Link: https://lore.kernel.org/r/20200916074458.873359-1-drobyshevskyi@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt b/Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt index aac5f621f8dc..dfe00eb961cd 100644 --- a/Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt +++ b/Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt @@ -4,9 +4,15 @@ Required properties: - compatible: must be "st,vl53l0x" - reg: i2c address where to find the device +Optional properties: + - interrupts: Interrupt for notifying that new measurement is ready. + If no interrupt is specified, polling is used. + Example: vl53l0x@29 { compatible = "st,vl53l0x"; reg = <0x29>; + interrupt-parent = <&gpio>; + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; }; |