WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / health / ti,afe4404.yaml
blob3b4d6c48b8bb0105995144ae5e7c4101ffbe52ff
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/health/ti,afe4404.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments AFE4404 Heart rate and Pulse Oximeter
9 maintainers:
10   - Jonathan Cameron <jic23@kernel.org>
12 properties:
13   compatible:
14     const: ti,afe4403
16   reg:
17     maxItems: 1
19   tx-supply:
20     description: Supply to transmitting LEDs.
22   interrupts:
23     maxItems: 1
24     description: Connected to ADC_RDY pin.
26   reset-gpios: true
28 additionalProperties: false
30 required:
31   - compatible
32   - reg
34 examples:
35   - |
36     #include <dt-bindings/gpio/gpio.h>
37     #include <dt-bindings/interrupt-controller/irq.h>
38     i2c {
39         #address-cells = <1>;
40         #size-cells = <0>;
42         heart_mon@58 {
43             compatible = "ti,afe4404";
44             reg = <0x58>;
45             tx-supply = <&vbat>;
46             interrupt-parent = <&gpio1>;
47             interrupts = <28 IRQ_TYPE_EDGE_RISING>;
48             reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
49         };
50     };
51 ...