xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/health/afe4403.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTexas Instruments AFE4403 Heart rate and Pulse Oximeter
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible		: Should be "ti,afe4403".
5*4882a593Smuzhiyun - reg			: SPI chip select address of 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*4882a593SmuzhiyunFor other required and optional properties of SPI slave nodes
16*4882a593Smuzhiyunplease refer to ../../spi/spi-bus.txt.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun&spi0 {
21*4882a593Smuzhiyun	heart_mon@0 {
22*4882a593Smuzhiyun		compatible = "ti,afe4403";
23*4882a593Smuzhiyun		reg = <0>;
24*4882a593Smuzhiyun		spi-max-frequency = <10000000>;
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun		tx-supply = <&vbat>;
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun		interrupt-parent = <&gpio1>;
29*4882a593Smuzhiyun		interrupts = <28 IRQ_TYPE_EDGE_RISING>;
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun		reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
32*4882a593Smuzhiyun	};
33*4882a593Smuzhiyun};
34