xref: /linux/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1f494151bSJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2f494151bSJonathan Cameron%YAML 1.2
3f494151bSJonathan Cameron---
4f494151bSJonathan Cameron$id: http://devicetree.org/schemas/iio/health/ti,afe4404.yaml#
5f494151bSJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
6f494151bSJonathan Cameron
7f494151bSJonathan Camerontitle: Texas Instruments AFE4404 Heart rate and Pulse Oximeter
8f494151bSJonathan Cameron
9f494151bSJonathan Cameronmaintainers:
10f494151bSJonathan Cameron  - Jonathan Cameron <jic23@kernel.org>
11f494151bSJonathan Cameron
12f494151bSJonathan Cameronproperties:
13f494151bSJonathan Cameron  compatible:
14ca880a15SJonathan Cameron    const: ti,afe4404
15f494151bSJonathan Cameron
16f494151bSJonathan Cameron  reg:
17f494151bSJonathan Cameron    maxItems: 1
18f494151bSJonathan Cameron
19f494151bSJonathan Cameron  tx-supply:
20f494151bSJonathan Cameron    description: Supply to transmitting LEDs.
21f494151bSJonathan Cameron
22f494151bSJonathan Cameron  interrupts:
23f494151bSJonathan Cameron    maxItems: 1
24f494151bSJonathan Cameron    description: Connected to ADC_RDY pin.
25f494151bSJonathan Cameron
26*7b695ef6SKrzysztof Kozlowski  reset-gpios:
27*7b695ef6SKrzysztof Kozlowski    maxItems: 1
28f494151bSJonathan Cameron
29f494151bSJonathan CameronadditionalProperties: false
30f494151bSJonathan Cameron
31f494151bSJonathan Cameronrequired:
32f494151bSJonathan Cameron  - compatible
33f494151bSJonathan Cameron  - reg
34f494151bSJonathan Cameron
35f494151bSJonathan Cameronexamples:
36f494151bSJonathan Cameron  - |
37f494151bSJonathan Cameron    #include <dt-bindings/gpio/gpio.h>
38f494151bSJonathan Cameron    #include <dt-bindings/interrupt-controller/irq.h>
39f494151bSJonathan Cameron    i2c {
40f494151bSJonathan Cameron        #address-cells = <1>;
41f494151bSJonathan Cameron        #size-cells = <0>;
42f494151bSJonathan Cameron
4346908557SKrzysztof Kozlowski        heart-mon@58 {
44f494151bSJonathan Cameron            compatible = "ti,afe4404";
45f494151bSJonathan Cameron            reg = <0x58>;
46f494151bSJonathan Cameron            tx-supply = <&vbat>;
47f494151bSJonathan Cameron            interrupt-parent = <&gpio1>;
48f494151bSJonathan Cameron            interrupts = <28 IRQ_TYPE_EDGE_RISING>;
49f494151bSJonathan Cameron            reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
50f494151bSJonathan Cameron        };
51f494151bSJonathan Cameron    };
52f494151bSJonathan Cameron...
53