GNU Linux-libre 4.14.328-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / health / afe4403.txt
1 Texas Instruments AFE4403 Heart rate and Pulse Oximeter
2
3 Required properties:
4  - compatible           : Should be "ti,afe4403".
5  - reg                  : SPI chip select address of device.
6  - tx-supply            : Regulator supply to transmitting LEDs.
7  - interrupt-parent     : Phandle to he parent interrupt controller.
8  - interrupts           : The interrupt line the device ADC_RDY pin is
9                           connected to. For details refer to,
10                           ../../interrupt-controller/interrupts.txt.
11
12 Optional properties:
13  - reset-gpios          : GPIO used to reset the device.
14                           For details refer to, ../../gpio/gpio.txt.
15
16 For other required and optional properties of SPI slave nodes
17 please refer to ../../spi/spi-bus.txt.
18
19 Example:
20
21 &spi0 {
22         heart_mon@0 {
23                 compatible = "ti,afe4403";
24                 reg = <0>;
25                 spi-max-frequency = <10000000>;
26
27                 tx-supply = <&vbat>;
28
29                 interrupt-parent = <&gpio1>;
30                 interrupts = <28 IRQ_TYPE_EDGE_RISING>;
31
32                 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
33         };
34 };