devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
@ 2025-12-21  8:38 Shrikant Raskar
  2025-12-27 17:45 ` Jonathan Cameron
  0 siblings, 1 reply; 7+ messages in thread
From: Shrikant Raskar @ 2025-12-21  8:38 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
 - 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


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

* [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
@ 2025-12-25  9:25 Shrikant Raskar
  0 siblings, 0 replies; 7+ messages in thread
From: Shrikant Raskar @ 2025-12-25  9:25 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
 - 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


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

* Re: [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
  2025-12-21  8:38 [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402 Shrikant Raskar
@ 2025-12-27 17:45 ` Jonathan Cameron
  2025-12-28 17:24   ` Andy Shevchenko
  2025-12-29 18:45   ` Shrikant
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Cameron @ 2025-12-27 17:45 UTC (permalink / raw)
  To: Shrikant Raskar
  Cc: robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, heiko,
	neil.armstrong, skhan, david.hunter.linux, linux-iio, devicetree,
	linux-kernel

On Sun, 21 Dec 2025 14:08:58 +0530
Shrikant Raskar <raskar.shree97@gmail.com> wrote:

> 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.

Hi Shrikant,

I'm only seeing this cover letter (and lore doesn't seem
to have the patches either).  Probably need to resend them.

Thanks,

Jonathan


> 
> 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


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

* Re: [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
  2025-12-27 17:45 ` Jonathan Cameron
@ 2025-12-28 17:24   ` Andy Shevchenko
  2025-12-29 18:45   ` Shrikant
  1 sibling, 0 replies; 7+ messages in thread
From: Andy Shevchenko @ 2025-12-28 17:24 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Shrikant Raskar, robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy,
	heiko, neil.armstrong, skhan, david.hunter.linux, linux-iio,
	devicetree, linux-kernel

On Sat, Dec 27, 2025 at 05:45:59PM +0000, Jonathan Cameron wrote:
> On Sun, 21 Dec 2025 14:08:58 +0530
> Shrikant Raskar <raskar.shree97@gmail.com> wrote:
> 
> > 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.
> 
> Hi Shrikant,
> 
> I'm only seeing this cover letter (and lore doesn't seem
> to have the patches either).  Probably need to resend them.

Same to me, please, figure out what's wrong and next time sent proper v4
to avoid confusion.


-- 
With Best Regards,
Andy Shevchenko



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

* Re: [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Shrikant @ 2025-12-29 18:45 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, heiko,
	neil.armstrong, skhan, david.hunter.linux, linux-iio, devicetree,
	linux-kernel

On Sat, Dec 27, 2025 at 11:16 PM Jonathan Cameron <jic23@kernel.org> wrote:
>
> On Sun, 21 Dec 2025 14:08:58 +0530
> Shrikant Raskar <raskar.shree97@gmail.com> wrote:
>
> > 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.
>
> Hi Shrikant,
>
> I'm only seeing this cover letter (and lore doesn't seem
> to have the patches either).  Probably need to resend them.
Hello Jonathan,
Apologies for the confusion. I have tried re-sending the patch
series multiple times, but each time only the cover letter is getting
delivered, while the individual patches do not seem to go through due
to Gmail's daily sending limit.I haven't fully resolved the issue yet,
but I'm trying to figure out a solution on my end. If you have
any suggestions or best practices to avoid such delivery issues, I
would really appreciate your guidance.

Sorry for the inconvenience, and thank you for your patience.
Regards,
Shrikant

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

* Re: [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
  2025-12-29 18:45   ` Shrikant
@ 2025-12-31 17:08     ` Jonathan Cameron
  2026-01-01 16:25       ` Shrikant
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Cameron @ 2025-12-31 17:08 UTC (permalink / raw)
  To: Shrikant
  Cc: robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, heiko,
	neil.armstrong, skhan, david.hunter.linux, linux-iio, devicetree,
	linux-kernel

On Tue, 30 Dec 2025 00:15:43 +0530
Shrikant <raskar.shree97@gmail.com> wrote:

> On Sat, Dec 27, 2025 at 11:16 PM Jonathan Cameron <jic23@kernel.org> wrote:
> >
> > On Sun, 21 Dec 2025 14:08:58 +0530
> > Shrikant Raskar <raskar.shree97@gmail.com> wrote:
> >  
> > > 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.  
> >
> > Hi Shrikant,
> >
> > I'm only seeing this cover letter (and lore doesn't seem
> > to have the patches either).  Probably need to resend them.  
> Hello Jonathan,
> Apologies for the confusion. I have tried re-sending the patch
> series multiple times, but each time only the cover letter is getting
> delivered, while the individual patches do not seem to go through due
> to Gmail's daily sending limit.I haven't fully resolved the issue yet,
> but I'm trying to figure out a solution on my end. If you have
> any suggestions or best practices to avoid such delivery issues, I
> would really appreciate your guidance.
> 
> Sorry for the inconvenience, and thank you for your patience.
> Regards,
> Shrikant

If you continue having problems, take a look at the b4 tool
and it's options for using a web gateway. 

https://b4.docs.kernel.org/en/latest/
sending your work.

Jonathan

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

* Re: [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402
  2025-12-31 17:08     ` Jonathan Cameron
@ 2026-01-01 16:25       ` Shrikant
  0 siblings, 0 replies; 7+ messages in thread
From: Shrikant @ 2026-01-01 16:25 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, heiko,
	neil.armstrong, skhan, david.hunter.linux, linux-iio, devicetree,
	linux-kernel

> If you continue having problems, take a look at the b4 tool
> and it's options for using a web gateway.
>
> https://b4.docs.kernel.org/en/latest/
> sending your work.
Hello Jonathan,
Thank you so much for sharing the b4 documentation. I have successfully
submitted the v4 patch-series using the b4 tool.

Regards,
Shrikant

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

end of thread, other threads:[~2026-01-01 16:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-21  8:38 [PATCH v3 0/4] iio: proximity: Add interrupt support for RFD77402 Shrikant Raskar
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
  -- strict thread matches above, loose matches on Subject: below --
2025-12-25  9:25 Shrikant Raskar

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).