Linux-libre 4.14.44-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / iio / health / afe4404.txt
1 Texas Instruments AFE4404 Heart rate and Pulse Oximeter
2
3 Required properties:
4  - compatible           : Should be "ti,afe4404".
5  - reg                  : I2C address of the 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 Example:
17
18 &i2c2 {
19         heart_mon@58 {
20                 compatible = "ti,afe4404";
21                 reg = <0x58>;
22
23                 tx-supply = <&vbat>;
24
25                 interrupt-parent = <&gpio1>;
26                 interrupts = <28 IRQ_TYPE_EDGE_RISING>;
27
28                 reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
29         };
30 };