xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/health/afe4404.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTexas Instruments AFE4404 Heart rate and Pulse Oximeter
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible		: Should be "ti,afe4404".
5*4882a593Smuzhiyun - reg			: I2C address of the device.
6*4882a593Smuzhiyun - tx-supply		: Regulator supply to transmitting LEDs.
7*4882a593Smuzhiyun - interrupts		: The interrupt line the device ADC_RDY pin is
8*4882a593Smuzhiyun			  connected to. For details refer to,
9*4882a593Smuzhiyun			  ../interrupt-controller/interrupts.txt.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun - reset-gpios		: GPIO used to reset the device.
13*4882a593Smuzhiyun			  For details refer to, ../gpio/gpio.txt.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunExample:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun&i2c2 {
18*4882a593Smuzhiyun	heart_mon@58 {
19*4882a593Smuzhiyun		compatible = "ti,afe4404";
20*4882a593Smuzhiyun		reg = <0x58>;
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun		tx-supply = <&vbat>;
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun		interrupt-parent = <&gpio1>;
25*4882a593Smuzhiyun		interrupts = <28 IRQ_TYPE_EDGE_RISING>;
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun		reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
28*4882a593Smuzhiyun	};
29*4882a593Smuzhiyun};
30