aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 18:57:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 18:57:20 -0400
commit82e627eb5e07d7993216c9e63fb5550cf6ed25d7 (patch)
tree9319298431a1ee815b2590600c13d1806818c7ff /Documentation
parentf1a7cd0ffe8c4ecd57a55aab7cfd4c813e0f5f3d (diff)
parent331b483f42fb4d04d52ce920ae10a71411c859a4 (diff)
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next
Pull timer core updates from Thomas Gleixner: "This time you get nothing really exciting: - A huge update to the sh* clocksource drivers - Support for two more ARM SoCs - Removal of the deprecated setup_sched_clock() API - The usual pile of fixlets all over the place" * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits) clocksource: Add Freescale FlexTimer Module (FTM) timer support ARM: dts: vf610: Add Freescale FlexTimer Module timer node. clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation clocksource: sh_tmu: Remove unnecessary OOM messages clocksource: sh_mtu2: Remove unnecessary OOM messages clocksource: sh_cmt: Remove unnecessary OOM messages clocksource: em_sti: Remove unnecessary OOM messages clocksource: dw_apb_timer_of: Do not trace read_sched_clock clocksource: Fix clocksource_mmio_readX_down clocksource: Fix type confusion for clocksource_mmio_readX_Y clocksource: sh_tmu: Fix channel IRQ retrieval in legacy case clocksource: qcom: Implement read_current_timer for udelay ntp: Make is_error_status() use its argument ntp: Convert simple_strtol to kstrtol timer_stats/doc: Fix /proc/timer_stats documentation sched_clock: Remove deprecated setup_sched_clock() API ARM: sun6i: a31: Add support for the High Speed Timers clocksource: sun5i: Add support for reset controller clocksource: efm32: use $vendor,$device scheme for compatible string KConfig: Vexpress: build the ARM_GLOBAL_TIMER with vexpress platform ...
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/arm/global_timer.txt7
-rw-r--r--Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt4
-rw-r--r--Documentation/devicetree/bindings/timer/energymicro,efm32-timer.txt (renamed from Documentation/devicetree/bindings/timer/efm32,timer.txt)4
-rw-r--r--Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt31
-rw-r--r--Documentation/timers/timer_stats.txt6
5 files changed, 45 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/arm/global_timer.txt b/Documentation/devicetree/bindings/arm/global_timer.txt
index 1e548981eda4..bdae3a818793 100644
--- a/Documentation/devicetree/bindings/arm/global_timer.txt
+++ b/Documentation/devicetree/bindings/arm/global_timer.txt
@@ -4,8 +4,11 @@
4 4
5** Timer node required properties: 5** Timer node required properties:
6 6
7- compatible : Should be "arm,cortex-a9-global-timer" 7- compatible : should contain
8 Driver supports versions r2p0 and above. 8 * "arm,cortex-a5-global-timer" for Cortex-A5 global timers.
9 * "arm,cortex-a9-global-timer" for Cortex-A9 global
10 timers or any compatible implementation. Note: driver
11 supports versions r2p0 and above.
9 12
10- interrupts : One interrupt to each core 13- interrupts : One interrupt to each core
11 14
diff --git a/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt b/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
index 7c26154b8bbb..27cfc7d7ccd7 100644
--- a/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
+++ b/Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
@@ -9,6 +9,9 @@ Required properties:
9 one) 9 one)
10- clocks: phandle to the source clock (usually the AHB clock) 10- clocks: phandle to the source clock (usually the AHB clock)
11 11
12Optionnal properties:
13- resets: phandle to a reset controller asserting the timer
14
12Example: 15Example:
13 16
14timer@01c60000 { 17timer@01c60000 {
@@ -19,4 +22,5 @@ timer@01c60000 {
19 <0 53 1>, 22 <0 53 1>,
20 <0 54 1>; 23 <0 54 1>;
21 clocks = <&ahb1_gates 19>; 24 clocks = <&ahb1_gates 19>;
25 resets = <&ahb1rst 19>;
22}; 26};
diff --git a/Documentation/devicetree/bindings/timer/efm32,timer.txt b/Documentation/devicetree/bindings/timer/energymicro,efm32-timer.txt
index 97a568f696c9..e502c11b2211 100644
--- a/Documentation/devicetree/bindings/timer/efm32,timer.txt
+++ b/Documentation/devicetree/bindings/timer/energymicro,efm32-timer.txt
@@ -6,7 +6,7 @@ channels and can be used as PWM or Quadrature Decoder. Available clock sources
6are the cpu's HFPERCLK (with a 10-bit prescaler) or an external pin. 6are the cpu's HFPERCLK (with a 10-bit prescaler) or an external pin.
7 7
8Required properties: 8Required properties:
9- compatible : Should be efm32,timer 9- compatible : Should be "energymicro,efm32-timer"
10- reg : Address and length of the register set 10- reg : Address and length of the register set
11- clocks : Should contain a reference to the HFPERCLK 11- clocks : Should contain a reference to the HFPERCLK
12 12
@@ -16,7 +16,7 @@ Optional properties:
16Example: 16Example:
17 17
18timer@40010c00 { 18timer@40010c00 {
19 compatible = "efm32,timer"; 19 compatible = "energymicro,efm32-timer";
20 reg = <0x40010c00 0x400>; 20 reg = <0x40010c00 0x400>;
21 interrupts = <14>; 21 interrupts = <14>;
22 clocks = <&cmu clk_HFPERCLKTIMER3>; 22 clocks = <&cmu clk_HFPERCLKTIMER3>;
diff --git a/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt
new file mode 100644
index 000000000000..aa8c40230e5e
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/fsl,ftm-timer.txt
@@ -0,0 +1,31 @@
1Freescale FlexTimer Module (FTM) Timer
2
3Required properties:
4
5- compatible : should be "fsl,ftm-timer"
6- reg : Specifies base physical address and size of the register sets for the
7 clock event device and clock source device.
8- interrupts : Should be the clock event device interrupt.
9- clocks : The clocks provided by the SoC to drive the timer, must contain an
10 entry for each entry in clock-names.
11- clock-names : Must include the following entries:
12 o "ftm-evt"
13 o "ftm-src"
14 o "ftm-evt-counter-en"
15 o "ftm-src-counter-en"
16- big-endian: One boolean property, the big endian mode will be in use if it is
17 present, or the little endian mode will be in use for all the device registers.
18
19Example:
20ftm: ftm@400b8000 {
21 compatible = "fsl,ftm-timer";
22 reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
23 interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
24 clock-names = "ftm-evt", "ftm-src",
25 "ftm-evt-counter-en", "ftm-src-counter-en";
26 clocks = <&clks VF610_CLK_FTM2>,
27 <&clks VF610_CLK_FTM3>,
28 <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
29 <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
30 big-endian;
31};
diff --git a/Documentation/timers/timer_stats.txt b/Documentation/timers/timer_stats.txt
index 8abd40b22b7f..de835ee97455 100644
--- a/Documentation/timers/timer_stats.txt
+++ b/Documentation/timers/timer_stats.txt
@@ -39,9 +39,9 @@ To stop a sample period issue:
39The statistics can be retrieved by: 39The statistics can be retrieved by:
40# cat /proc/timer_stats 40# cat /proc/timer_stats
41 41
42The readout of /proc/timer_stats automatically disables sampling. The sampled 42While sampling is enabled, each readout from /proc/timer_stats will see
43information is kept until a new sample period is started. This allows multiple 43newly updated statistics. Once sampling is disabled, the sampled information
44readouts. 44is kept until a new sample period is started. This allows multiple readouts.
45 45
46Sample output of /proc/timer_stats: 46Sample output of /proc/timer_stats:
47 47