[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251018160400.6921df6c@jic23-huawei>
Date: Sat, 18 Oct 2025 16:04:00 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Shrikant Raskar <raskar.shree97@...il.com>
Cc: robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
dlechner@...libre.com, nuno.sa@...log.com, andy@...nel.org,
matt@...ostay.sg, skhan@...uxfoundation.org, david.hunter.linux@...il.com,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kernel-mentees@...ts.linux.dev
Subject: Re: [PATCH v3 0/2] iio: health: max30100: Add DT LED pulse-width
support
On Sun, 12 Oct 2025 23:00:33 +0530
Shrikant Raskar <raskar.shree97@...il.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
Powered by blists - more mailing lists