57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/health/ti,afe4403.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments AFE4403 Heart rate and Pulse Oximeter8 9maintainers:10 - Jonathan Cameron <jic23@kernel.org>11 12properties:13 compatible:14 const: ti,afe440315 16 reg:17 maxItems: 118 19 tx-supply:20 description: Supply to transmitting LEDs.21 22 interrupts:23 maxItems: 124 description: Connected to ADC_RDY pin.25 26 reset-gpios:27 maxItems: 128 29required:30 - compatible31 - reg32 33allOf:34 - $ref: /schemas/spi/spi-peripheral-props.yaml#35 36unevaluatedProperties: false37 38examples:39 - |40 #include <dt-bindings/gpio/gpio.h>41 #include <dt-bindings/interrupt-controller/irq.h>42 spi {43 #address-cells = <1>;44 #size-cells = <0>;45 46 heart-mon@0 {47 compatible = "ti,afe4403";48 reg = <0>;49 spi-max-frequency = <10000000>;50 tx-supply = <&vbat>;51 interrupt-parent = <&gpio1>;52 interrupts = <28 IRQ_TYPE_EDGE_RISING>;53 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;54 };55 };56...57