Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/health/maxim,max30100.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Maxim MAX30100 heart rate and pulse oximeter sensor
0008 
0009 maintainers:
0010   - Matt Ranostay <matt.ranostay@konsulko.com>
0011 
0012 properties:
0013   compatible:
0014     const: maxim,max30100
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   interrupts:
0020     maxItems: 1
0021     description: Connected to ADC_RDY pin.
0022 
0023   maxim,led-current-microamp:
0024     minItems: 2
0025     maxItems: 2
0026     description: |
0027       LED current whilst the engine is running. First indexed value is
0028       the configuration for the RED LED, and second value is for the IR LED.
0029 
0030 additionalProperties: false
0031 
0032 required:
0033   - compatible
0034   - reg
0035   - interrupts
0036 
0037 examples:
0038   - |
0039     i2c {
0040         #address-cells = <1>;
0041         #size-cells = <0>;
0042 
0043         heart-rate@57 {
0044             compatible = "maxim,max30100";
0045             reg = <0x57>;
0046             maxim,led-current-microamp = <24000 50000>;
0047             interrupt-parent = <&gpio1>;
0048             interrupts = <16 2>;
0049         };
0050     };
0051 ...