[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-286f30db8b713b17e048bb86df1e257fd8695498@git.kernel.org>
Date: Mon, 8 Jan 2018 09:28:44 -0800
From: tip-bot for Baolin Wang <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: robh+dt@...nel.org, daniel.lezcano@...aro.org,
baolin.wang@...eadtrum.com, mark.rutland@....com, mingo@...nel.org,
peterz@...radead.org, tglx@...utronix.de,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
robh@...nel.org, hpa@...or.com
Subject: [tip:timers/core] dt-bindings/clocksource: Add Spreadtrum SC9860
timer documentation
Commit-ID: 286f30db8b713b17e048bb86df1e257fd8695498
Gitweb: https://git.kernel.org/tip/286f30db8b713b17e048bb86df1e257fd8695498
Author: Baolin Wang <baolin.wang@...eadtrum.com>
AuthorDate: Mon, 8 Jan 2018 14:28:46 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 8 Jan 2018 17:57:24 +0100
dt-bindings/clocksource: Add Spreadtrum SC9860 timer documentation
This patch adds documentation of device tree bindings for the timers
found on the Spreadtrum SC9860 platform.
Signed-off-by: Baolin Wang <baolin.wang@...eadtrum.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Acked-by: Rob Herring <robh@...nel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Mark Rutland <mark.rutland@....com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rob Herring <robh+dt@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: devicetree@...r.kernel.org
Link: http://lkml.kernel.org/r/1515418139-23276-7-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
.../bindings/timer/spreadtrum,sprd-timer.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt b/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt
new file mode 100644
index 0000000..6d97e7d
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt
@@ -0,0 +1,20 @@
+Spreadtrum timers
+
+The Spreadtrum SC9860 platform provides 3 general-purpose timers.
+These timers can support 32bit or 64bit counter, as well as supporting
+period mode or one-shot mode, and they are can be wakeup source
+during deep sleep.
+
+Required properties:
+- compatible: should be "sprd,sc9860-timer" for SC9860 platform.
+- reg: The register address of the timer device.
+- interrupts: Should contain the interrupt for the timer device.
+- clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock).
+
+Example:
+ timer@...50000 {
+ compatible = "sprd,sc9860-timer";
+ reg = <0 0x40050000 0 0x20>;
+ interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ext_32k>;
+ };
Powered by blists - more mailing lists