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