mbox series

[v2,0/2] iio: health: max30102: add support for max30101

Message ID 20240324-max30101-v2-0-611deb510c97@gmail.com (mailing list archive)
Headers show
Series iio: health: max30102: add support for max30101 | expand

Message

Javier Carrasco March 24, 2024, 7:20 p.m. UTC
The Maxim max30101 is the replacement for the max30105, which is no
longer recommended for new designs [1].

The max30101 is described as a pulse oximeter and heart-rate sensor,
as opposed to the max30105, which is described as an optical sensor for
smoke detection applications. In the end, the internal structure is
identical, as well as the register map, voltages and sensitivity. Only
the pinout has changed, which is not relevant for the driver.

A new compatible has been added, but the logic used for the max30105 can
be re-used for the new part.

Link: https://www.analog.com/en/products/max30105.html [1]

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Changes in v2:
- dt-bindings: use maxim,max30105 as the fallback compatible for
  maxim,max30101.
- PATCH 1/2: Typo in commit description.
- Link to v1: https://lore.kernel.org/r/20240321-max30101-v1-0-00b83e966824@gmail.com

---
Javier Carrasco (2):
      dt-bindings: iio: health: maxim,max30102: add max30101
      iio: health: max30102: add support for max30101

 .../devicetree/bindings/iio/health/maxim,max30102.yaml       | 12 ++++++++----
 drivers/iio/health/max30102.c                                |  2 ++
 2 files changed, 10 insertions(+), 4 deletions(-)
---
base-commit: 70293240c5ce675a67bfc48f419b093023b862b3
change-id: 20240317-max30101-edbe658b6633

Best regards,