linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/7] ARM: i.MX: Add GPT devicetree Documentation
Date: Thu, 14 Mar 2013 13:08:56 +0100	[thread overview]
Message-ID: <1363262942-26702-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1363262942-26702-1-git-send-email-s.hauer@pengutronix.de>

The GPT binding is already used on i.MX6 and i.MX25, but not yet
documented. Add a binding document for it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 Documentation/devicetree/bindings/timer/fsl,imxgpt.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/fsl,imxgpt.txt

diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt
new file mode 100644
index 0000000..544890a
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt
@@ -0,0 +1,18 @@
+Freescale i.MX GPT
+
+Required properties:
+
+- compatible : should be "fsl,<soc>-gpt"
+- reg : Specifies base physical address and size of the registers.
+- interrupts : A list of 4 interrupts; one per timer channel.
+- clocks : The clocks provided by the SoC to drive the timer.
+
+Example:
+
+gpt1: timer at 10003000 {
+	compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+	reg = <0x10003000 0x1000>;
+	interrupts = <26>;
+	clocks = <&clks 46>, <&clks 61>;
+	clock-names = "ipg", "per";
+};
-- 
1.8.2.rc2

  reply	other threads:[~2013-03-14 12:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14 12:08 [PATCH] i.MX: Add GPT devicetree nodes Sascha Hauer
2013-03-14 12:08 ` Sascha Hauer [this message]
2013-03-14 18:02   ` [PATCH 1/7] ARM: i.MX: Add GPT devicetree Documentation Stephen Warren
2013-03-15  5:42     ` Shawn Guo
2013-03-15  6:11       ` Sascha Hauer
2013-03-14 12:08 ` [PATCH 2/7] ARM: i.MX27: Add GPT devicetree nodes Sascha Hauer
2013-03-14 12:08 ` [PATCH 3/7] ARM: i.MX31: Add GPT devicetree node Sascha Hauer
2013-03-14 12:08 ` [PATCH 4/7] ARM: i.MX51: " Sascha Hauer
2013-03-14 12:09 ` [PATCH 5/7] ARM: i.MX53: " Sascha Hauer
2013-03-14 12:09 ` [PATCH 6/7] ARM: i.MX6: Add clocks to " Sascha Hauer
2013-03-14 12:09 ` [PATCH 7/7] ARM: i.MX27: Add clocks to GPT devicetree nodes Sascha Hauer
2013-03-15  5:43 ` [PATCH] i.MX: Add " Shawn Guo

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=1363262942-26702-2-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.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).