.../bindings/iio/health/maxim,max30100.yaml | 8 ++++ drivers/iio/health/max30100.c | 38 +++++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-)
Add Device Tree support for configuring the LED pulse-width of the MAX30100 sensor, and updates the driver to read and apply this property. Testing: - Verify DT property read successfully in probe(). - Verify default fallback to 1600 us when DT property is omitted. - Confirm SPO2_CONFIG register programmed correctly using regmap_read(). - Validate different DT pulse-width values (200, 400, 800, 1600 us) are applied correctly. - Validate probe() failure for invalid LED pulse-width - Tested-on: Raspberry Pi 3B + MAX30100 breakout board Changelog: Changes from v2: - Fix DT binding schema errors - Add default value - Remove changelog from commit message - Add missing header file Shrikant Raskar (2): dt-bindings: iio: health: max30100: Add LED pulse-width property iio: health: max30100: Make LED pulse-width configurable via DT .../bindings/iio/health/maxim,max30100.yaml | 8 ++++ drivers/iio/health/max30100.c | 38 +++++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-) base-commit: 8bd9238e511d02831022ff0270865c54ccc482d6 -- 2.43.0
On Sun, 12 Oct 2025 23:00:33 +0530 Shrikant Raskar <raskar.shree97@gmail.com> wrote: > Add Device Tree support for configuring the LED pulse-width of the MAX30100 > sensor, and updates the driver to read and apply this property. > > Testing: > - Verify DT property read successfully in probe(). > - Verify default fallback to 1600 us when DT property is omitted. > - Confirm SPO2_CONFIG register programmed correctly using regmap_read(). > - Validate different DT pulse-width values (200, 400, 800, 1600 us) > are applied correctly. > - Validate probe() failure for invalid LED pulse-width > - Tested-on: Raspberry Pi 3B + MAX30100 breakout board > > Changelog: > Changes from v2: > - Fix DT binding schema errors > - Add default value > - Remove changelog from commit message > - Add missing header file > > Shrikant Raskar (2): > dt-bindings: iio: health: max30100: Add LED pulse-width property > iio: health: max30100: Make LED pulse-width configurable via DT > > .../bindings/iio/health/maxim,max30100.yaml | 8 ++++ > drivers/iio/health/max30100.c | 38 +++++++++++++++++-- > 2 files changed, 43 insertions(+), 3 deletions(-) > > > base-commit: 8bd9238e511d02831022ff0270865c54ccc482d6 Applied to the togreg branch of iio.git and pushed out as testing for now Thanks, Jonathan
On Sat, Oct 18, 2025 at 8:34 PM Jonathan Cameron <jic23@kernel.org> wrote: > > On Sun, 12 Oct 2025 23:00:33 +0530 > Shrikant Raskar <raskar.shree97@gmail.com> wrote: > > > Add Device Tree support for configuring the LED pulse-width of the MAX30100 > > sensor, and updates the driver to read and apply this property. > > > > Testing: > > - Verify DT property read successfully in probe(). > > - Verify default fallback to 1600 us when DT property is omitted. > > - Confirm SPO2_CONFIG register programmed correctly using regmap_read(). > > - Validate different DT pulse-width values (200, 400, 800, 1600 us) > > are applied correctly. > > - Validate probe() failure for invalid LED pulse-width > > - Tested-on: Raspberry Pi 3B + MAX30100 breakout board > > > > Changelog: > > Changes from v2: > > - Fix DT binding schema errors > > - Add default value > > - Remove changelog from commit message > > - Add missing header file > > > > Shrikant Raskar (2): > > dt-bindings: iio: health: max30100: Add LED pulse-width property > > iio: health: max30100: Make LED pulse-width configurable via DT > > > > .../bindings/iio/health/maxim,max30100.yaml | 8 ++++ > > drivers/iio/health/max30100.c | 38 +++++++++++++++++-- > > 2 files changed, 43 insertions(+), 3 deletions(-) > > > > > > base-commit: 8bd9238e511d02831022ff0270865c54ccc482d6 > > Applied to the togreg branch of iio.git and pushed out as testing for now Thanks for the update. I really appreciate your time and support! Regards, Shrikant
© 2016 - 2025 Red Hat, Inc.