[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251012173035.12536-1-raskar.shree97@gmail.com>
Date: Sun, 12 Oct 2025 23:00:33 +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 v3 0/2] iio: health: max30100: Add DT LED pulse-width support
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
Powered by blists - more mailing lists