xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/health/max30102.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMaxim MAX30102 heart rate and pulse oximeter sensor
2*4882a593SmuzhiyunMaxim MAX30105 optical particle-sensing module
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun* https://datasheets.maximintegrated.com/en/ds/MAX30102.pdf
5*4882a593Smuzhiyun* https://datasheets.maximintegrated.com/en/ds/MAX30105.pdf
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun  - compatible: must be "maxim,max30102" or "maxim,max30105"
9*4882a593Smuzhiyun  - reg: the I2C address of the sensor
10*4882a593Smuzhiyun  - interrupts: the sole interrupt generated by the device
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun  Refer to interrupt-controller/interrupts.txt for generic
13*4882a593Smuzhiyun  interrupt client node bindings.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunOptional properties:
16*4882a593Smuzhiyun  - maxim,red-led-current-microamp: configuration for red LED current
17*4882a593Smuzhiyun  - maxim,ir-led-current-microamp: configuration for IR LED current
18*4882a593Smuzhiyun  - maxim,green-led-current-microamp: configuration for green LED current
19*4882a593Smuzhiyun    (max30105 only)
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun    Note that each step is approximately 200 microamps, ranging from 0 uA to
22*4882a593Smuzhiyun    50800 uA.
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunExample:
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunmax30102@57 {
27*4882a593Smuzhiyun	compatible = "maxim,max30102";
28*4882a593Smuzhiyun	reg = <0x57>;
29*4882a593Smuzhiyun	maxim,red-led-current-microamp = <7000>;
30*4882a593Smuzhiyun	maxim,ir-led-current-microamp = <7000>;
31*4882a593Smuzhiyun	interrupt-parent = <&gpio1>;
32*4882a593Smuzhiyun	interrupts = <16 2>;
33*4882a593Smuzhiyun};
34