[PATCH v2 0/2] iio: health: max30100: Add DT pulse-width support

Shrikant Raskar posted 2 patches 2 months, 1 week ago
.../bindings/iio/health/maxim,max30100.yaml   |  6 ++++
drivers/iio/health/max30100.c                 | 35 +++++++++++++++++--
2 files changed, 39 insertions(+), 2 deletions(-)
[PATCH v2 0/2] iio: health: max30100: Add DT pulse-width support
Posted by Shrikant Raskar 2 months, 1 week ago
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