xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/health/max30100.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMaxim MAX30100 heart rate and pulse oximeter sensor
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun* https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun  - compatible: must be "maxim,max30100"
7*4882a593Smuzhiyun  - reg: the I2C address of the sensor
8*4882a593Smuzhiyun  - interrupts: the sole interrupt generated by the device
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun  Refer to interrupt-controller/interrupts.txt for generic
11*4882a593Smuzhiyun  interrupt client node bindings.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunOptional properties:
14*4882a593Smuzhiyun  - maxim,led-current-microamp: configuration for LED current in microamperes
15*4882a593Smuzhiyun    while the engine is running. First indexed value is the configuration for
16*4882a593Smuzhiyun    the RED LED, and second value is for the IR LED.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun    Refer to the datasheet for the allowed current values.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunExample:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunmax30100@57 {
23*4882a593Smuzhiyun	compatible = "maxim,max30100";
24*4882a593Smuzhiyun	reg = <0x57>;
25*4882a593Smuzhiyun	maxim,led-current-microamp = <24000 50000>;
26*4882a593Smuzhiyun	interrupt-parent = <&gpio1>;
27*4882a593Smuzhiyun	interrupts = <16 2>;
28*4882a593Smuzhiyun};
29