diff mbox series

[1/2] dt-bindings: iio: proximity: vl53l0x: Add IRQ support

Message ID 20200910084817.209131-1-drobyshevskyi@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] dt-bindings: iio: proximity: vl53l0x: Add IRQ support | expand

Commit Message

Ivan Drobyshevskyi Sept. 10, 2020, 8:48 a.m. UTC
Since IRQ support was added to the driver, update bindings accordingly.

Signed-off-by: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
---
 Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt b/Documentation/devicetree/bindings/iio/proximity/vl53l0x.txt
index aac5f621f..dfe00eb96 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>;
 };