diff options
author | Matt Ranostay <mranostay@gmail.com> | 2015-12-10 07:04:49 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-12-12 13:14:37 +0100 |
commit | 4d33615df58bf308626489cbfb8acbc8bbd45658 (patch) | |
tree | 2d6d54bf0408df7066312b42a8f7d4775a3dd8ba /Documentation/devicetree/bindings/iio/health | |
parent | iio:adc128s052: add support for adc124s021 (diff) | |
download | linux-4d33615df58bf308626489cbfb8acbc8bbd45658.tar.xz 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 'Documentation/devicetree/bindings/iio/health')
-rw-r--r-- | Documentation/devicetree/bindings/iio/health/max30100.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/health/max30100.txt b/Documentation/devicetree/bindings/iio/health/max30100.txt new file mode 100644 index 000000000000..f6fbac66ad06 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/health/max30100.txt @@ -0,0 +1,21 @@ +Maxim MAX30100 heart rate and pulse oximeter sensor + +* https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf + +Required properties: + - compatible: must be "maxim,max30100" + - reg: the I2C address of the sensor + - interrupt-parent: should be the phandle for the interrupt controller + - interrupts: the sole interrupt generated by the device + + Refer to interrupt-controller/interrupts.txt for generic + interrupt client node bindings. + +Example: + +max30100@057 { + compatible = "maxim,max30100"; + reg = <57>; + interrupt-parent = <&gpio1>; + interrupts = <16 2>; +}; |