[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <3537996136ec435ea660da869102d0a019214979.1410964243.git.michal.simek@xilinx.com>
Date: Wed, 17 Sep 2014 16:30:49 +0200
From: Michal Simek <michal.simek@...inx.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Peter Crosthwaite <peter.crosthwaite@...inx.com>,
Michal Simek <monstr@...str.eu>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] devicetree: cadence_ttc: Document binding for timer width
From: Peter Crosthwaite <peter.crosthwaite@...inx.com>
Modern TTC implementations can extend the timer width to 32 bit. This
feature is not self identifying so the driver needs to be made aware
via device tree.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@...inx.com>
Signed-off-by: Michal Simek <michal.simek@...inx.com>
---
Documentation/devicetree/bindings/timer/cadence,ttc-timer.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/cadence,ttc-timer.txt b/Documentation/devicetree/bindings/timer/cadence,ttc-timer.txt
index 993695c659e1..5439976eca6b 100644
--- a/Documentation/devicetree/bindings/timer/cadence,ttc-timer.txt
+++ b/Documentation/devicetree/bindings/timer/cadence,ttc-timer.txt
@@ -6,6 +6,9 @@ Required properties:
- interrupts : A list of 3 interrupts; one per timer channel.
- clocks: phandle to the source clock
+Optional properties:
+- timer-width: Bit width of the timer. Either 16 or 32 (default 16).
+
Example:
ttc0: ttc0@...01000 {
@@ -14,4 +17,5 @@ ttc0: ttc0@...01000 {
compatible = "cdns,ttc";
reg = <0xF8001000 0x1000>;
clocks = <&cpu_clk 3>;
+ timer-width = <32>;
};
--
1.8.2.3
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists