OSDN Git Service

iio: health: add MAX30102 oximeter driver support
authorMatt Ranostay <matt@ranostay.consulting>
Sat, 4 Feb 2017 10:22:51 +0000 (02:22 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 5 Feb 2017 09:45:00 +0000 (09:45 +0000)
commitb3c590ce14b1f30f4535e4f4ab9f3b9a2c968aaf
tree888aba5e335a0e22b08cb4a7cfe00e74e2b21272
parent5247dd46cf1c2e3300545ea102b866a46aaddbc3
iio: health: add MAX30102 oximeter driver support

MAX30102 is an heart rate and pulse oximeter sensor that works using
two LEDS of different wavelengths, and detecting the light reflected
back.

This patchset adds support for both IR and RED LED channels which can
be processed in userspace to determine heart rate and blood oxygen
levels. The MAX30102 part isn't completely register and functional
compatible with the existing MAX30100 driver.

Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/health/Kconfig
drivers/iio/health/Makefile
drivers/iio/health/max30102.c [new file with mode: 0644]