]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: iio: health: max30100: Add LED pulse-width property
authorShrikant Raskar <raskar.shree97@gmail.com>
Sun, 12 Oct 2025 17:30:34 +0000 (23:00 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:22 +0000 (11:59 +0100)
commite7966a4953a3c9e40382693f578523da2b384919
tree30a717f60647a3396d1e90cf5931808d8c6bf851
parent8f0072c742e37474de058a41256fb91934dd4d5d
dt-bindings: iio: health: max30100: Add LED pulse-width property

The LED pulse width on the MAX30100 sensor determines how long the
IR/Red LEDs are driven during each sample, directly affecting the
emitted optical energy and hence the received signal amplitude.

This parameter is highly dependent on the mechanical and optical
integration of the sensor, such as:
- The type and thickness of the optical window or lens covering
  the sensor.
- The distance between the LED and photodiode.
- The reflectivity of the target surface.

For example:
- A smartwatch or wearable ring with a thin glass window can operate
  with shorter pulses (200-400 us) to save power.
- A medical-grade pulse oximeter or sensor mounted behind a thicker
  protective layer may require longer pulses (800-1600 us) for
  reliable signal amplitude.

Because this configuration is determined by hardware design rather than
by runtime conditions, it is appropriate to describe it in the DT.

If not specified, the driver defaults to 1600 us to maintain
existing behavior.

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

Signed-off-by: Shrikant Raskar <raskar.shree97@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/health/maxim,max30100.yaml