diff options
author | Baolin Wang <baolin.wang@spreadtrum.com> | 2018-01-08 08:28:46 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-01-08 11:57:24 -0500 |
commit | 286f30db8b713b17e048bb86df1e257fd8695498 (patch) | |
tree | 5d2d1ccbdfd992c163fc4ceceef8f856ee84a3b9 | |
parent | cf7f46b9b12269d204b6acd0925704543adb6e05 (diff) |
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@spreadtrum.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: devicetree@vger.kernel.org
Link: http://lkml.kernel.org/r/1515418139-23276-7-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt | 20 |
1 files changed, 20 insertions, 0 deletions
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 000000000000..6d97e7d0f6e8 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt | |||
@@ -0,0 +1,20 @@ | |||
1 | Spreadtrum timers | ||
2 | |||
3 | The Spreadtrum SC9860 platform provides 3 general-purpose timers. | ||
4 | These timers can support 32bit or 64bit counter, as well as supporting | ||
5 | period mode or one-shot mode, and they are can be wakeup source | ||
6 | during deep sleep. | ||
7 | |||
8 | Required properties: | ||
9 | - compatible: should be "sprd,sc9860-timer" for SC9860 platform. | ||
10 | - reg: The register address of the timer device. | ||
11 | - interrupts: Should contain the interrupt for the timer device. | ||
12 | - clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock). | ||
13 | |||
14 | Example: | ||
15 | timer@40050000 { | ||
16 | compatible = "sprd,sc9860-timer"; | ||
17 | reg = <0 0x40050000 0 0x20>; | ||
18 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; | ||
19 | clocks = <&ext_32k>; | ||
20 | }; | ||