mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 12:20:52 +07:00
b3c590ce14
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>
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
#
|
|
# Health sensors
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Health Sensors"
|
|
|
|
menu "Heart Rate Monitors"
|
|
|
|
config AFE4403
|
|
tristate "TI AFE4403 Heart Rate Monitor"
|
|
depends on SPI_MASTER
|
|
select REGMAP_SPI
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes to choose the Texas Instruments AFE4403
|
|
heart rate monitor and low-cost pulse oximeter.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called afe4403.
|
|
|
|
config AFE4404
|
|
tristate "TI AFE4404 heart rate and pulse oximeter sensor"
|
|
depends on I2C
|
|
select REGMAP_I2C
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
help
|
|
Say yes to choose the Texas Instruments AFE4404
|
|
heart rate monitor and low-cost pulse oximeter.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called afe4404.
|
|
|
|
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.
|
|
|
|
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
|