summaryrefslogtreecommitdiffstats
path: root/drivers/iio/health/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay2015-12-10 07:04:49 +0100
committerJonathan Cameron2015-12-12 13:14:37 +0100
commit4d33615df58bf308626489cbfb8acbc8bbd45658 (patch)
tree2d6d54bf0408df7066312b42a8f7d4775a3dd8ba /drivers/iio/health/Kconfig
parentiio:adc128s052: add support for adc124s021 (diff)
downloadkernel-qcow2-linux-4d33615df58bf308626489cbfb8acbc8bbd45658.tar.gz
kernel-qcow2-linux-4d33615df58bf308626489cbfb8acbc8bbd45658.tar.xz
kernel-qcow2-linux-4d33615df58bf308626489cbfb8acbc8bbd45658.zip
iio: light: add MAX30100 oximeter driver support
MAX30100 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. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/health/Kconfig')
-rw-r--r--drivers/iio/health/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/iio/health/Kconfig b/drivers/iio/health/Kconfig
new file mode 100644
index 000000000000..a647679da805
--- /dev/null
+++ b/drivers/iio/health/Kconfig
@@ -0,0 +1,21 @@
+#
+# Health sensors
+#
+# When adding new entries keep the list in alphabetical order
+
+menu "Health sensors"
+
+config MAX30100
+ tristate "MAX30100 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
+ MAX30100 heart rate, and pulse oximeter sensor.
+
+ To compile this driver as a module, choose M here: the
+ module will be called max30100.
+
+endmenu