summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/health/max30100.txt
blob: 295a9edfa4fdcf89506c54321e573fa7cf044bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.

Optional properties:
  - maxim,led-current-microamp: configuration for LED current in microamperes
    while the engine is running. First indexed value is the configuration for
    the RED LED, and second value is for the IR LED.

    Refer to the datasheet for the allowed current values.

Example:

max30100@057 {
	compatible = "maxim,max30100";
	reg = <57>;
	maxim,led-current-microamp = <24000 50000>;
	interrupt-parent = <&gpio1>;
	interrupts = <16 2>;
};