Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390180
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Daniel Lezcano <daniel.lezcano@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/5] dt-bindings: document the MPS2 timer bindings |
| Date | Thu, 28 Apr 2016 15:30:04 +0200 |
| Message-ID | <rsUb2-3LP-57@gated-at.bofh.it> (permalink) |
| References | <rsU1k-3GG-15@gated-at.bofh.it> <rsUb0-3LP-13@gated-at.bofh.it> |
| X-Original-To | tglx@linutronix.de, mingo@kernel.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oOP7qy6DBD9lNnam37tQKkX2CwMgDhchVa+JlJRU8Fk=; b=fdfGkNA2o15CcMeD77YfVBaHU5ivpmAyJKZvyYtrYdNf7bmdEdtfVI8Wn7DcKztmSs qoGvOjzgGe3avjR8BnkMW3DIf5i/6f461KfU04MxkGMNE1MwLgLW3XRbd3d2EXK/F7QZ oqBvIYmRSBUE9uro//HQQqrUtu+X1kt2c+D7I= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oOP7qy6DBD9lNnam37tQKkX2CwMgDhchVa+JlJRU8Fk=; b=QDfD1YSrQEwtWLCKYQxL+zGrJweS6GAyyIG0/7IlCjR6eJu0lap6lIjbf3eNaaR2hv jVBQmB6c3fnH+DOFPmWmtkDyAV0NqPVcdTzRc8rpTf3DcskYIMIT4OnVE74h35Hkio1f cYvFgzbfPQTWHOHMifjxUa7/F34d7XOxbwpWXr4Sa4FWUcLrwSU5iU2/nhcbxZtWeMH/ IufhgnWFC0zzLk27NPUdN80j4eGX1ykscnPV/Dv1kjZuCQcD441fNvCavCG/+kGwvgBG m0EzLtILNOmln7rznjWUfzoAfMue1MkvPz94reoRSmn6Hl3i+N/XHYEgRqhIlQvrQC6B duxA== |
| X-Gm-Message-State | AOPr4FVWxx1t1pMw+Lfu+47zKAeufbB6wrKVkbRlWXB9qy7qa0BfIwDGZXPrMo+2p/WrhueX |
| X-Received | by 10.28.12.8 with SMTP id 8mr10791681wmm.6.1461849670299; Thu, 28 Apr 2016 06:21:10 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 49 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Vladimir Murzin <vladimir.murzin@arm.com>, Rob Herring <robh@kernel.org>, 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>, devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND...), linux-kernel@vger.kernel.org (open list) |
| X-Original-Date | Thu, 28 Apr 2016 15:20:46 +0200 |
| X-Original-Message-ID | <1461849648-12751-3-git-send-email-daniel.lezcano@linaro.org> |
| X-Original-References | <20160428131908.GC5197@linaro.org> <1461849648-12751-1-git-send-email-daniel.lezcano@linaro.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1390180 |
Show key headers only | View raw
From: Vladimir Murzin <vladimir.murzin@arm.com>
This adds documentation of device tree bindings for the
timers found on ARM MPS2 platform.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
.../devicetree/bindings/timer/arm,mps2-timer.txt | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/arm,mps2-timer.txt
diff --git a/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt b/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt
new file mode 100644
index 0000000..48f84d7
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt
@@ -0,0 +1,28 @@
+ARM MPS2 timer
+
+The MPS2 platform has simple general-purpose 32 bits timers.
+
+Required properties:
+- compatible : Should be "arm,mps2-timer"
+- reg : Address and length of the register set
+- interrupts : Reference to the timer interrupt
+
+Required clocking property, have to be one of:
+- clocks : The input clock of the timer
+- clock-frequency : The rate in HZ in input of the ARM MPS2 timer
+
+Examples:
+
+timer1: mps2-timer@40000000 {
+ compatible = "arm,mps2-timer";
+ reg = <0x40000000 0x1000>;
+ interrupts = <8>;
+ clocks = <&sysclk>;
+};
+
+timer2: mps2-timer@40001000 {
+ compatible = "arm,mps2-timer";
+ reg = <0x40001000 0x1000>;
+ interrupts = <9>;
+ clock-frequency = <25000000>;
+};
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PULL] clockevents for 4.7 Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-28 15:20 +0200 [PATCH 2/5] clocksource/drivers/mtk_timer: Add __init attribute Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-28 15:30 +0200 [PATCH 4/5] clockevents/driversi/mps2: add MPS2 Timer driver Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-28 15:30 +0200 [PATCH 5/5] clocksource/drivers/tegra: Remove unused suspend/resume code Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-28 15:30 +0200 [PATCH 3/5] dt-bindings: document the MPS2 timer bindings Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-28 15:30 +0200 [PATCH 1/5] clockevents/drivers/dw_apb_timer: Implement ->set_state_oneshot_stopped() Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-28 15:30 +0200
csiph-web