summaryrefslogtreecommitdiffstats
path: root/drivers/iio/health/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-12-09 22:04:49 -0800
committerJonathan Cameron <jic23@kernel.org>2015-12-12 12:14:37 +0000
commit4d33615df58bf308626489cbfb8acbc8bbd45658 (patch)
tree2d6d54bf0408df7066312b42a8f7d4775a3dd8ba /drivers/iio/health/Kconfig
parentb41fa86b67bd338d4ffa0b69f0fb1c3013a489e0 (diff)
downloadlinux-stable-4d33615df58bf308626489cbfb8acbc8bbd45658.tar.gz
linux-stable-4d33615df58bf308626489cbfb8acbc8bbd45658.tar.bz2
linux-stable-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