public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] iio: proximity: Add interrupt support for RFD77402
@ 2026-01-01 16:17 Shrikant Raskar via B4 Relay
  2026-01-01 16:17 ` [PATCH v4 1/4] dt-bindings: iio: proximity: Add RF Digital RFD77402 ToF sensor Shrikant Raskar via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Shrikant Raskar via B4 Relay @ 2026-01-01 16:17 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: raskar.shree97, skhan, david.hunter.linux, linux-iio, devicetree,
	linux-kernel, Krzysztof Kozlowski

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:
- Resend the patch series as v4 since not all patches were delivered
in v3 due to SMTP daily sending limits.
- 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'.

Signed-off-by: Shrikant Raskar <raskar.shree97@gmail.com>
---
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

 .../bindings/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(-)
---
base-commit: d8ba32c5a460837a5f0b9619dac99fafb6faef07
change-id: 20260101-b4-rfd77402_irq-3dda6baf2370

Best regards,
-- 
Shrikant Raskar <raskar.shree97@gmail.com>



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

end of thread, other threads:[~2026-01-11 12:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-01 16:17 [PATCH v4 0/4] iio: proximity: Add interrupt support for RFD77402 Shrikant Raskar via B4 Relay
2026-01-01 16:17 ` [PATCH v4 1/4] dt-bindings: iio: proximity: Add RF Digital RFD77402 ToF sensor Shrikant Raskar via B4 Relay
2026-01-11 12:39   ` Jonathan Cameron
2026-01-01 16:17 ` [PATCH v4 2/4] iio: proximity: rfd77402: Add OF device ID for enumeration via DT Shrikant Raskar via B4 Relay
2026-01-01 16:17 ` [PATCH v4 3/4] iio: proximity: rfd77402: Use kernel helper for result polling Shrikant Raskar via B4 Relay
2026-01-02 12:24   ` Andy Shevchenko
2026-01-01 16:17 ` [PATCH v4 4/4] iio: proximity: rfd77402: Add interrupt handling support Shrikant Raskar via B4 Relay
2026-01-02 12:34   ` Andy Shevchenko
2026-01-06  0:09     ` Shrikant
2026-01-06 20:47       ` Andy Shevchenko
2026-01-11 12:36         ` Jonathan Cameron
2026-01-11 12:49   ` Jonathan Cameron
2026-01-02 12:26 ` [PATCH v4 0/4] iio: proximity: Add interrupt support for RFD77402 Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox