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