iio: health: max30102: add support for max30101
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Sun, 24 Mar 2024 19:20:29 +0000 (20:20 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 28 Mar 2024 13:22:15 +0000 (13:22 +0000)
commitc71af78d9bf2edd9777113e7a9cbacc518318976
tree4c30c176f8ff5c0203c91392a5e8ade54da57ecb
parent0a2c44324f3be607345834234259c0a1eaf65c1e
iio: health: max30102: add support for max30101

The Maxim max30101 is the replacement for the max30105, which is no
longer recommended for future designs.

Their internal structure is identical, as well as the register map,
configuration options and sensitivity, which allows for code recycling.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240324-max30101-v2-2-611deb510c97@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/health/max30102.c