From: Shrikant Raskar <raskar.shree97@gmail.com>
To: jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org,
heiko@sntech.de, neil.armstrong@linaro.org,
skhan@linuxfoundation.org, david.hunter.linux@gmail.com,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Shrikant Raskar <raskar.shree97@gmail.com>
Subject: [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
Date: Sun, 21 Dec 2025 14:08:58 +0530 [thread overview]
Message-ID: <20251221083902.134098-1-raskar.shree97@gmail.com> (raw)
This patch series adds:
- Add RF Digital vendor prefix
- YAML binding for RFD77402
- Add OF device ID for enumeration via DT
- Use kernel helper for result polling
- Interrupt handling support
These changes enable DT-based configuration and event-driven
operation for the RFD77402 Time-of-Flight sensor.
Changelog:
Changes since v2:
- Add 'Reviewed-by' tag to dt-binding patch.
- Update commit message in OF device ID patch.
- Update commit message in the third patch.
- Replace rfd77402_result_polling() with read_poll_timeout().
- Add 'struct rfd77402_data' details in kernel-doc format.
- Arrange includes in order.
- Add comment for completion timeout value.
- Remove blank lines.
- Indent the comments to code.
- Convert mutex_init() to devm_mutex_init().
- Remove 'IRQF_TRIGGER_FALLING' flag from devm_request_threaded_irq().
- Drop the duplicate message.
- Replace 'dev_info' with 'dev_dbg()'.
- Update 'dev_id' to 'pdata' in rfd77402_interrupt_handler().
- Drop 'interrupt mode' comment
- Use 'if(ret)' instead of 'if(ret < 0) for consistency.
- Use 'return i2c_smbus_write_byte_data()' in 'rfd77402_config_irq'.
Shrikant Raskar (4):
dt-bindings: iio: proximity: Add RF Digital RFD77402 ToF sensor
iio: proximity: rfd77402: Add OF device ID for enumeration via DT
iio: proximity: rfd77402: Use kernel helper for result polling
iio: proximity: rfd77402: Add interrupt handling support
.../iio/proximity/rfdigital,rfd77402.yaml | 53 +++++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
drivers/iio/proximity/rfd77402.c | 149 +++++++++++++++---
3 files changed, 183 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/iio/proximity/rfdigital,rfd77402.yaml
base-commit: d8ba32c5a460837a5f0b9619dac99fafb6faef07
--
2.43.0
next reply other threads:[~2025-12-21 8:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-21 8:38 Shrikant Raskar [this message]
2025-12-27 17:45 ` Jonathan Cameron
2025-12-28 17:24 ` Andy Shevchenko
2025-12-29 18:45 ` Shrikant
2025-12-31 17:08 ` Jonathan Cameron
2026-01-01 16:25 ` Shrikant
2025-12-25 9:25 Shrikant Raskar
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=20251221083902.134098-1-raskar.shree97@gmail.com \
--to=raskar.shree97@gmail.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=david.hunter.linux@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=heiko@sntech.de \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.org \
/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
all inboxes | Powered by JetHome®