linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: iio: proximity: vl53l0x: Add IRQ support
@ 2020-09-10  8:48 Ivan Drobyshevskyi
  2020-09-10  8:48 ` [PATCH 2/2] " Ivan Drobyshevskyi
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Drobyshevskyi @ 2020-09-10  8:48 UTC (permalink / raw)
  To: linux-iio
  Cc: songqiang1304521, jic23, knaack.h, lars, pmeerw, Ivan Drobyshevskyi

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 --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>;
 };
-- 
2.26.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-17 18:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  8:48 [PATCH 1/2] dt-bindings: iio: proximity: vl53l0x: Add IRQ support Ivan Drobyshevskyi
2020-09-10  8:48 ` [PATCH 2/2] " Ivan Drobyshevskyi
2020-09-13 10:33   ` Jonathan Cameron
2020-09-16  7:44     ` [PATCH v2 1/2] dt-bindings: " Ivan Drobyshevskyi
2020-09-16  7:44       ` [PATCH v2 2/2] " Ivan Drobyshevskyi
2020-09-17 18:21         ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).