Maxim MAX30100 heart rate and pulse oximeter sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/health/maxim,max30100.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Matt Ranostay <matt.ranostay@konsulko.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max30100"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Connected to ADC_RDY pin.

maxim,led-current-microamp — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

LED current whilst the engine is running. First indexed value is the configuration for the RED LED, and second value is for the IR LED.

maxim,pulse-width-us — not listed as required here #

LED pulse width in microseconds. Appropriate pulse width depends on factors such as optical window absorption, LED-to-sensor distance, and expected reflectivity of the skin or contact surface.

Allowed values (enum): 200, 400, 800, 1600

Default value (default): 1600

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts"

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

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

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page