Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / health / max30102.txt
1 Maxim MAX30102 heart rate and pulse oximeter sensor
2
3 * https://datasheets.maximintegrated.com/en/ds/MAX30102.pdf
4
5 Required properties:
6   - compatible: must be "maxim,max30102"
7   - reg: the I2C address of the sensor
8   - interrupt-parent: should be the phandle for the interrupt controller
9   - interrupts: the sole interrupt generated by the device
10
11   Refer to interrupt-controller/interrupts.txt for generic
12   interrupt client node bindings.
13
14 Optional properties:
15   - maxim,red-led-current-microamp: configuration for RED LED current
16   - maxim,ir-led-current-microamp: configuration for IR LED current
17
18     Note that each step is approximately 200 microamps, ranging from 0 uA to
19     50800 uA.
20
21 Example:
22
23 max30100@57 {
24         compatible = "maxim,max30102";
25         reg = <0x57>;
26         maxim,red-led-current-microamp = <7000>;
27         maxim,ir-led-current-microamp = <7000>;
28         interrupt-parent = <&gpio1>;
29         interrupts = <16 2>;
30 };