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/ti,afe4404.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments AFE4404 Heart rate an 7 title: Texas Instruments AFE4404 Heart rate and Pulse Oximeter 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: ti,afe4404 14 const: ti,afe4404 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 tx-supply: 19 tx-supply: 20 description: Supply to transmitting LEDs. 20 description: Supply to transmitting LEDs. 21 21 22 interrupts: 22 interrupts: 23 maxItems: 1 23 maxItems: 1 24 description: Connected to ADC_RDY pin. 24 description: Connected to ADC_RDY pin. 25 25 26 reset-gpios: 26 reset-gpios: 27 maxItems: 1 27 maxItems: 1 28 28 29 additionalProperties: false 29 additionalProperties: false 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - reg 33 - reg 34 34 35 examples: 35 examples: 36 - | 36 - | 37 #include <dt-bindings/gpio/gpio.h> 37 #include <dt-bindings/gpio/gpio.h> 38 #include <dt-bindings/interrupt-controller 38 #include <dt-bindings/interrupt-controller/irq.h> 39 i2c { 39 i2c { 40 #address-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 41 #size-cells = <0>; 42 42 43 heart-mon@58 { 43 heart-mon@58 { 44 compatible = "ti,afe4404"; 44 compatible = "ti,afe4404"; 45 reg = <0x58>; 45 reg = <0x58>; 46 tx-supply = <&vbat>; 46 tx-supply = <&vbat>; 47 interrupt-parent = <&gpio1>; 47 interrupt-parent = <&gpio1>; 48 interrupts = <28 IRQ_TYPE_EDGE_RIS 48 interrupts = <28 IRQ_TYPE_EDGE_RISING>; 49 reset-gpios = <&gpio1 16 GPIO_ACTI 49 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; 50 }; 50 }; 51 }; 51 }; 52 ... 52 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.