-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: health: Add driver for the TI AFE4404 heart monitor
Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing. Datasheet: http://www.ti.com/product/AFE4404/datasheet Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
- Loading branch information
Andrew F. Davis
authored and
Jonathan Cameron
committed
Feb 6, 2016
1 parent
380f6ff
commit 87aec56
Showing
5 changed files
with
943 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/tia_resistanceY | ||
/sys/bus/iio/devices/iio:deviceX/tia_capacitanceY | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <afd@ti.com> | ||
Description: | ||
Get and set the resistance and the capacitance settings for the | ||
Transimpedance Amplifier. Y is 1 for Rf1 and Cf1, Y is 2 for | ||
Rf2 and Cf2 values. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/tia_separate_en | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <afd@ti.com> | ||
Description: | ||
Enable or disable separate settings for the TransImpedance | ||
Amplifier above, when disabled both values are set by the | ||
first channel. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ledY_raw | ||
/sys/bus/iio/devices/iio:deviceX/in_intensity_ledY_ambient_raw | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <afd@ti.com> | ||
Description: | ||
Get measured values from the ADC for these stages. Y is the | ||
specific LED number. The values are expressed in 24-bit twos | ||
complement. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ledY-ledY_ambient_raw | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <afd@ti.com> | ||
Description: | ||
Get differential values from the ADC for these stages. Y is the | ||
specific LED number. The values are expressed in 24-bit twos | ||
complement for the specified LEDs. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_current_ledY_offset | ||
/sys/bus/iio/devices/iio:deviceX/out_current_ledY_ambient_offset | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <afd@ti.com> | ||
Description: | ||
Get and set the offset cancellation DAC setting for these | ||
stages. The values are expressed in 5-bit sign-magnitude. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_current_ledY_raw | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <afd@ti.com> | ||
Description: | ||
Get and set the LED current for the specified LED. Y is the | ||
specific LED number. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.