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