xref: /freebsd/sys/contrib/device-tree/Bindings/iio/health/ti,afe4403.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/health/ti,afe4403.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Texas Instruments AFE4403 Heart rate and Pulse Oximeter
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotproperties:
135def4c47SEmmanuel Vadot  compatible:
145def4c47SEmmanuel Vadot    const: ti,afe4403
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel Vadot  reg:
175def4c47SEmmanuel Vadot    maxItems: 1
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadot  tx-supply:
205def4c47SEmmanuel Vadot    description: Supply to transmitting LEDs.
215def4c47SEmmanuel Vadot
225def4c47SEmmanuel Vadot  interrupts:
235def4c47SEmmanuel Vadot    maxItems: 1
245def4c47SEmmanuel Vadot    description: Connected to ADC_RDY pin.
255def4c47SEmmanuel Vadot
26*aa1a8ff2SEmmanuel Vadot  reset-gpios:
27*aa1a8ff2SEmmanuel Vadot    maxItems: 1
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadotrequired:
305def4c47SEmmanuel Vadot  - compatible
315def4c47SEmmanuel Vadot  - reg
325def4c47SEmmanuel Vadot
337ef62cebSEmmanuel VadotallOf:
347ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
357ef62cebSEmmanuel Vadot
367ef62cebSEmmanuel VadotunevaluatedProperties: false
377ef62cebSEmmanuel Vadot
385def4c47SEmmanuel Vadotexamples:
395def4c47SEmmanuel Vadot  - |
405def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
415def4c47SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
425def4c47SEmmanuel Vadot    spi {
435def4c47SEmmanuel Vadot        #address-cells = <1>;
445def4c47SEmmanuel Vadot        #size-cells = <0>;
455def4c47SEmmanuel Vadot
46cb7aa33aSEmmanuel Vadot        heart-mon@0 {
475def4c47SEmmanuel Vadot            compatible = "ti,afe4403";
485def4c47SEmmanuel Vadot            reg = <0>;
495def4c47SEmmanuel Vadot            spi-max-frequency = <10000000>;
505def4c47SEmmanuel Vadot            tx-supply = <&vbat>;
515def4c47SEmmanuel Vadot            interrupt-parent = <&gpio1>;
525def4c47SEmmanuel Vadot            interrupts = <28 IRQ_TYPE_EDGE_RISING>;
535def4c47SEmmanuel Vadot            reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
545def4c47SEmmanuel Vadot        };
555def4c47SEmmanuel Vadot    };
565def4c47SEmmanuel Vadot...
57