Kernel-4.18.0-80.el8_max30102

Maxim MAX30102 heart rate and pulse oximeter sensor
Maxim MAX30105 optical particle-sensing module

Required properties:

  • compatible: must be “maxim,max30102” or “maxim,max30105”

  • 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,red-led-current-microamp: configuration for red LED current

  • maxim,ir-led-current-microamp: configuration for IR LED current

  • maxim,green-led-current-microamp: configuration for green LED current
    (max30105 only)

    Note that each step is approximately 200 microamps, ranging from 0 uA to
    50800 uA.

Example:

max30102@57 {
compatible = “maxim,max30102”;
reg = <0x57>;
maxim,red-led-current-microamp = <7000>;
maxim,ir-led-current-microamp = <7000>;
interrupt-parent = <&gpio1>;
interrupts = <16 2>;
};