devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Andrew F. Davis" <afd@ti.com>
To: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald <pmeerw@pmeerw.net>
Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org,
	linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew
Subject: [PATCH v3 4/5] Documentation: afe4403: Add DT bindings for the AFE4403 heart monitor
Date: Mon, 14 Dec 2015 16:36:00 -0600	[thread overview]
Message-ID: <1450132561-5245-5-git-send-email-afd@ti.com> (raw)
In-Reply-To: <1450132561-5245-1-git-send-email-afd@ti.com>

Add the TI AFE4403 heart monitor DT bindings documentation.

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 .../devicetree/bindings/iio/health/afe4403.txt     | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/health/afe4403.txt

diff --git a/Documentation/devicetree/bindings/iio/health/afe4403.txt b/Documentation/devicetree/bindings/iio/health/afe4403.txt
new file mode 100644
index 0000000..2fffd70
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/health/afe4403.txt
@@ -0,0 +1,34 @@
+Texas Instruments AFE4403 Heart rate and Pulse Oximeter
+
+Required properties:
+ - compatible		: Should be "ti,afe4403".
+ - reg			: SPI chip select address of device.
+ - tx-supply		: Regulator supply to transmitting LEDs.
+ - interrupt-parent	: Phandle to he parent interrupt controller.
+ - interrupts		: The interrupt line the device ADC_RDY pin is
+			  connected to. For details refer to,
+			  ../../interrupt-controller/interrupts.txt.
+
+Optional properties:
+ - reset-gpios		: GPIO used to reset the device.
+			  For details refer to, ../../gpio/gpio.txt.
+
+For other required and optional properties of SPI slave nodes
+please refer to ../../spi/spi-bus.txt.
+
+Example:
+
+&spi0 {
+	heart_mon@0 {
+		compatible = "ti,afe4403";
+		reg = <0>;
+		spi-max-frequency = <10000000>;
+
+		tx-supply = <&vbat>;
+
+		interrupt-parent = <&gpio1>;
+		interrupts = <28 IRQ_TYPE_EDGE_RISING>;
+
+		reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
+	};
+};
-- 
2.6.4

  parent reply	other threads:[~2015-12-14 22:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 22:35 [PATCH v3 0/5] iio: AFE4404 Heart Rate Monitor and Bio-Sensing Andrew F. Davis
2015-12-14 22:35 ` [PATCH v3 1/5] iio: Make IIO value formating function globally available Andrew F. Davis
     [not found]   ` <1450132561-5245-2-git-send-email-afd-l0cyMroinI0@public.gmane.org>
2015-12-22 17:05     ` Jonathan Cameron
2015-12-14 22:35 ` [PATCH v3 2/5] Documentation: afe4404: Add DT bindings for the AFE4404 heart monitor Andrew F. Davis
2015-12-14 22:35 ` [PATCH v3 3/5] iio: health: Add driver for the TI " Andrew F. Davis
     [not found]   ` <1450132561-5245-4-git-send-email-afd-l0cyMroinI0@public.gmane.org>
2015-12-22 17:37     ` Jonathan Cameron
     [not found]       ` <56798A53.9080905-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-12-30 17:23         ` Andrew F. Davis
2015-12-14 22:36 ` Andrew F. Davis [this message]
2015-12-22 17:38   ` [PATCH v3 4/5] Documentation: afe4403: Add DT bindings for the AFE4403 " Jonathan Cameron
2015-12-14 22:36 ` [PATCH v3 5/5] iio: health: Add driver for the TI " Andrew F. Davis
     [not found]   ` <1450132561-5245-6-git-send-email-afd-l0cyMroinI0@public.gmane.org>
2015-12-22 17:59     ` Jonathan Cameron
     [not found]       ` <56798F9C.8020304-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-12-30 17:34         ` Andrew F. Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450132561-5245-5-git-send-email-afd@ti.com \
    --to=afd@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).