From: Rick Chen <rickchen36@gmail.com>
To: daniel.lezcano@linaro.org, tglx@linutronix.de, robh@kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
rick@andestech.com
Cc: Rick Chen <rickchen36@gmail.com>, Greentime Hu <green.hu@gmail.com>
Subject: [PATCH v2 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc
Date: Mon, 30 Oct 2017 13:18:57 +0800 [thread overview]
Message-ID: <1509340737-10225-3-git-send-email-rickchen36@gmail.com> (raw)
In-Reply-To: <1509340737-10225-1-git-send-email-rickchen36@gmail.com>
Add a document to describe Andestech atcpit100 timer and
binding information.
Signed-off-by: Greentime Hu <green.hu@gmail.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
---
.../bindings/timer/andestech,atcpit100-timer.txt | 31 ++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
diff --git a/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
new file mode 100644
index 0000000..a87278a
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
@@ -0,0 +1,31 @@
+Andestech ATCPIT100 timer
+------------------------------------------------------------------
+ATCPIT100 is a generic IP block from Andes Technology, embedded in
+Andestech AE3XX platforms and other designs.
+
+This timer is a set of compact multi-function timers, which can be
+used as pulse width modulators (PWM) as well as simple timers.
+
+It supports up to 4 PIT channels. Each PIT channel is a
+multi-function timer and provide the following usage scenarios:
+One 32-bit timer
+Two 16-bit timers
+Four 8-bit timers
+One 16-bit PWM
+One 16-bit timer and one 8-bit PWM
+Two 8-bit timer and one 8-bit PWM
+
+Required properties:
+- compatible : Should be "andestech,atcpit100"
+- reg : Address and length of the register set
+- interrupts : Reference to the timer interrupt
+- clock-frequency : The rate in HZ in input of the Andestech ATCPIT100 timer
+
+Examples:
+
+timer0: timer@f0400000 {
+ compatible = "andestech,atcpit100";
+ reg = <0xf0400000 0x1000>;
+ interrupts = <2 4>;
+ clock-frequency = <30000000>;
+};
--
2.7.4
next prev parent reply other threads:[~2017-10-30 5:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 5:18 [PATCH v2 1/3] clocksource/drivers/atcpit100: Add andestech atcpit100 timer Rick Chen
2017-10-30 5:18 ` [PATCH v2 2/3] clocksource/drivers/Kconfig: Support " Rick Chen
[not found] ` <1509340737-10225-2-git-send-email-rickchen36-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-01 20:40 ` kbuild test robot
2017-10-30 5:18 ` Rick Chen [this message]
[not found] ` <1509340737-10225-3-git-send-email-rickchen36-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-01 21:41 ` [PATCH v2 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc Rob Herring
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=1509340737-10225-3-git-send-email-rickchen36@gmail.com \
--to=rickchen36@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=green.hu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rick@andestech.com \
--cc=robh@kernel.org \
--cc=tglx@linutronix.de \
/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).