[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251008031737.7321-1-raskar.shree97@gmail.com>
Date: Wed, 8 Oct 2025 08:47:35 +0530
From: Shrikant Raskar <raskar.shree97@...il.com>
To: jic23@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org
Cc: 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,
Shrikant Raskar <raskar.shree97@...il.com>
Subject: [PATCH v2 0/2] iio: health: max30100: Add DT pulse-width support
Add support for configuring the LED pulse width of the
MAX30100 sensor via a device tree property.
v2 changes:
dt-bindings: iio: max30100: Add pulse-width property:
Add unit suffix (-microseconds)
Drop redundant description
iio: health: max30100: Add pulse-width configuration via DT:
Improve default handling
Used FIELD_PREP() for pulse width
Use dev_err_probe() for error reporting
Fix signedness issue
Tested on: Raspberry Pi 3B + MAX30100 breakout
Shrikant Raskar (2):
dt-bindings: iio: max30100: Add pulse-width property
iio: health: max30100: Add pulse-width configuration via DT
.../bindings/iio/health/maxim,max30100.yaml | 6 ++++
drivers/iio/health/max30100.c | 35 +++++++++++++++++--
2 files changed, 39 insertions(+), 2 deletions(-)
--
2.43.0
Powered by blists - more mailing lists