devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: proximity: Add DT and interrupt support for RFD77402
@ 2025-11-26  3:14 Shrikant Raskar
  2025-11-26  3:14 ` [PATCH 1/3] dt-bindings: iio: proximity: Add YAML binding for RFD77402 ToF sensor Shrikant Raskar
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Shrikant Raskar @ 2025-11-26  3:14 UTC (permalink / raw)
  To: jic23, robh, krzk+dt, conor+dt
  Cc: dlechner, nuno.sa, andy, heiko, neil.armstrong, skhan,
	david.hunter.linux, linux-iio, devicetree, linux-kernel,
	Shrikant Raskar

This patch series adds:
 - Add RF Digital vendor prefix
 - YAML binding for RFD77402
 - Device Tree support in the driver
 - Interrupt handling support
 
These changes enable DT-based configuration and event-driven
operation for the RFD77402 Time-of-Flight sensor.

These changes are tested on RPi 3B.
1. Interrupt Mode logs:
pi@raspberrypi:~$ dmesg | grep rfd
[   26.907482] rfd77402 1-004c: Using interrupt mode 
pi@raspberrypi:~$ cat /sys/bus/iio/devices/iio:device0/in_distance_raw
51
1. Polling Mode logs:
pi@raspberrypi:~$ dmesg | grep rfd
[   26.760403] rfd77402 1-004c: No interrupt specified, using polling mode
pi@raspberrypi:~$ cat /sys/bus/iio/devices/iio:device0/in_distance_raw
1990

Shrikant Raskar (3):
  dt-bindings: iio: proximity: Add YAML binding for RFD77402 ToF sensor
  iio: proximity: rfd77402: Add Device Tree support
  iio: proximity: rfd77402: Add interrupt handling support

 .../iio/proximity/rfdigital,rfd77402.yaml     |  55 +++++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/iio/proximity/rfd77402.c              | 134 +++++++++++++++---
 3 files changed, 171 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/proximity/rfdigital,rfd77402.yaml

-- 
2.43.0


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

end of thread, other threads:[~2025-12-07 15:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-26  3:14 [PATCH 0/3] iio: proximity: Add DT and interrupt support for RFD77402 Shrikant Raskar
2025-11-26  3:14 ` [PATCH 1/3] dt-bindings: iio: proximity: Add YAML binding for RFD77402 ToF sensor Shrikant Raskar
2025-11-26  9:53   ` Krzysztof Kozlowski
2025-11-26 18:09     ` Shrikant
2025-11-26  3:14 ` [PATCH 2/3] iio: proximity: rfd77402: Add Device Tree support Shrikant Raskar
2025-11-26  6:53   ` Andy Shevchenko
2025-11-26  3:14 ` [PATCH 3/3] iio: proximity: rfd77402: Add interrupt handling support Shrikant Raskar
2025-11-26  7:35   ` Andy Shevchenko
2025-11-28 16:06     ` Shrikant
2025-12-07 15:47       ` 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).