0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/health/ti,afe4404.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments AFE4404 Heart rate and Pulse Oximeter
0008
0009 maintainers:
0010 - Jonathan Cameron <jic23@kernel.org>
0011
0012 properties:
0013 compatible:
0014 const: ti,afe4404
0015
0016 reg:
0017 maxItems: 1
0018
0019 tx-supply:
0020 description: Supply to transmitting LEDs.
0021
0022 interrupts:
0023 maxItems: 1
0024 description: Connected to ADC_RDY pin.
0025
0026 reset-gpios: true
0027
0028 additionalProperties: false
0029
0030 required:
0031 - compatible
0032 - reg
0033
0034 examples:
0035 - |
0036 #include <dt-bindings/gpio/gpio.h>
0037 #include <dt-bindings/interrupt-controller/irq.h>
0038 i2c {
0039 #address-cells = <1>;
0040 #size-cells = <0>;
0041
0042 heart_mon@58 {
0043 compatible = "ti,afe4404";
0044 reg = <0x58>;
0045 tx-supply = <&vbat>;
0046 interrupt-parent = <&gpio1>;
0047 interrupts = <28 IRQ_TYPE_EDGE_RISING>;
0048 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
0049 };
0050 };
0051 ...