mirror-linux/drivers/iio/health
Shrikant Raskar 6365d2b988 iio: health: max30100: Make LED pulse-width configurable via DT
The required LED pulse width depends on board-specific optical and
mechanical design, which affects measurement accuracy and power use.
Making it configurable via Device Tree allows each platform to define
an appropriate value instead of relying on a hardcoded default.

If unspecified, the driver defaults to 1600 us for backward compatibility.

Tested on: Raspberry Pi 3B + MAX30100 breakout board.

Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Shrikant Raskar <raskar.shree97@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-10-19 11:59:22 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
afe440x.h Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
afe4403.c iio: health: Drop unnecessary -ENOMEM messages 2025-08-25 12:35:25 +01:00
afe4404.c iio: health: Drop unnecessary -ENOMEM messages 2025-08-25 12:35:25 +01:00
max30100.c iio: health: max30100: Make LED pulse-width configurable via DT 2025-10-19 11:59:22 +01:00
max30102.c iio: Remove single use of macro definition for regmap name 2025-06-09 07:45:36 +01:00