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,afe4403.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments AFE4403 Heart rate and Pulse Oximeter
0008
0009 maintainers:
0010 - Jonathan Cameron <jic23@kernel.org>
0011
0012 properties:
0013 compatible:
0014 const: ti,afe4403
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 spi-max-frequency: true
0029
0030 additionalProperties: false
0031
0032 required:
0033 - compatible
0034 - reg
0035
0036 examples:
0037 - |
0038 #include <dt-bindings/gpio/gpio.h>
0039 #include <dt-bindings/interrupt-controller/irq.h>
0040 spi {
0041 #address-cells = <1>;
0042 #size-cells = <0>;
0043
0044 heart_mon@0 {
0045 compatible = "ti,afe4403";
0046 reg = <0>;
0047 spi-max-frequency = <10000000>;
0048 tx-supply = <&vbat>;
0049 interrupt-parent = <&gpio1>;
0050 interrupts = <28 IRQ_TYPE_EDGE_RISING>;
0051 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
0052 };
0053 };
0054 ...