1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/health/ 4 $id: http://devicetree.org/schemas/iio/health/maxim,max30100.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Maxim MAX30100 heart rate and pulse oxi 7 title: Maxim MAX30100 heart rate and pulse oximeter sensor 8 8 9 maintainers: 9 maintainers: 10 - Matt Ranostay <matt.ranostay@konsulko.com> 10 - Matt Ranostay <matt.ranostay@konsulko.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: maxim,max30100 14 const: maxim,max30100 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 interrupts: 19 interrupts: 20 maxItems: 1 20 maxItems: 1 21 description: Connected to ADC_RDY pin. 21 description: Connected to ADC_RDY pin. 22 22 23 maxim,led-current-microamp: 23 maxim,led-current-microamp: 24 minItems: 2 24 minItems: 2 25 maxItems: 2 25 maxItems: 2 26 description: | 26 description: | 27 LED current whilst the engine is running 27 LED current whilst the engine is running. First indexed value is 28 the configuration for the RED LED, and s 28 the configuration for the RED LED, and second value is for the IR LED. 29 29 30 additionalProperties: false 30 additionalProperties: false 31 31 32 required: 32 required: 33 - compatible 33 - compatible 34 - reg 34 - reg 35 - interrupts 35 - interrupts 36 36 37 examples: 37 examples: 38 - | 38 - | 39 i2c { 39 i2c { 40 #address-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 41 #size-cells = <0>; 42 42 43 heart-rate@57 { 43 heart-rate@57 { 44 compatible = "maxim,max30100"; 44 compatible = "maxim,max30100"; 45 reg = <0x57>; 45 reg = <0x57>; 46 maxim,led-current-microamp = <2400 46 maxim,led-current-microamp = <24000 50000>; 47 interrupt-parent = <&gpio1>; 47 interrupt-parent = <&gpio1>; 48 interrupts = <16 2>; 48 interrupts = <16 2>; 49 }; 49 }; 50 }; 50 }; 51 ... 51 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.