From: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
To: linux-iio@vger.kernel.org, jic23@kernel.org
Cc: songqiang1304521@gmail.com, knaack.h@gmx.de, lars@metafoo.de,
pmeerw@pmeerw.net, Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
Subject: [PATCH v2 1/2] dt-bindings: iio: proximity: vl53l0x: Add IRQ support
Date: Wed, 16 Sep 2020 10:44:57 +0300 [thread overview]
Message-ID: <20200916074458.873359-1-drobyshevskyi@gmail.com> (raw)
In-Reply-To: <20200913113357.47e0c0a1@archlinux>
Since IRQ support was added to the driver, update bindings accordingly.
Signed-off-by: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
---
(no changes since v1)
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
next prev parent reply other threads:[~2020-09-16 7:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Ivan Drobyshevskyi [this message]
2020-09-16 7:44 ` [PATCH v2 " Ivan Drobyshevskyi
2020-09-17 18:21 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200916074458.873359-1-drobyshevskyi@gmail.com \
--to=drobyshevskyi@gmail.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=songqiang1304521@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox