summaryrefslogtreecommitdiff
path: root/drivers/iio/health/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay <matt@ranostay.consulting>2017-02-04 02:22:51 -0800
committerJonathan Cameron <jic23@kernel.org>2017-02-05 09:45:00 +0000
commitb3c590ce14b1f30f4535e4f4ab9f3b9a2c968aaf (patch)
tree888aba5e335a0e22b08cb4a7cfe00e74e2b21272 /drivers/iio/health/Kconfig
parent5247dd46cf1c2e3300545ea102b866a46aaddbc3 (diff)
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>
Diffstat (limited to 'drivers/iio/health/Kconfig')
-rw-r--r--drivers/iio/health/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iio/health/Kconfig b/drivers/iio/health/Kconfig
index c5f004a8e447..a2ecb4c94c2a 100644
--- a/drivers/iio/health/Kconfig
+++ b/drivers/iio/health/Kconfig
@@ -46,6 +46,19 @@ config MAX30100
To compile this driver as a module, choose M here: the
module will be called max30100.
+config MAX30102
+ tristate "MAX30102 heart rate and pulse oximeter sensor"
+ depends on I2C
+ select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_KFIFO_BUF
+ help
+ Say Y here to build I2C interface support for the Maxim
+ MAX30102 heart rate, and pulse oximeter sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called max30102.
+
endmenu
endmenu