diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-05-27 04:03:39 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-05-27 04:06:05 -0400 |
commit | 331b483f42fb4d04d52ce920ae10a71411c859a4 (patch) | |
tree | 1f6399d3dc5a6a93b54b01bc2bb46b5f26c7dbab /drivers/clocksource/arm_global_timer.c | |
parent | 309179fabddd074f7da63c5602bc32cb6de677f9 (diff) | |
parent | 2529c3a330797000d699d70c9a65b8525c6652de (diff) |
Merge branch 'clockevents/3.16' of git://git.linaro.org/people/daniel.lezcano/linux into timers/core
This pull request contains the following changes:
* Laurent Pinchart did a lot of modifications to prepare the DT
support. These modifications include a lot of cleanup (structure
renaming, preparation to support multiple channel, kzalloc usage,
...) and then finishes to drop the old code to the new one.
* Jingoo Han removed the dev_err when an allocation fails because this
error is already given by the mm subsystems.
* Matthew Leach added the ARM global timer with vexpress, enabled the
ARM global timer with the A5 and added the definition in the DT. He
also fixed a invalid check when looking for an usable ARM global
timer for A9
* Maxime Ripard added the support for AllWinner A31 for sun4i and made
the timer reset optional through the DT
* Stephen Boyd used the msm timer for the udelay
* Uwe Kleine-König fixed the non-standard 'compatible' binding for efm32
* Xiubo Li clarified the types for the clocksource_mmio_read* and
added a new Flextimer Module (FTM) with its bindings
* Yang Wei added the 'notrace' attribute to 'read_sched_clock' for the
dw_apb_timer
Diffstat (limited to 'drivers/clocksource/arm_global_timer.c')
-rw-r--r-- | drivers/clocksource/arm_global_timer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index 0fc31d029e52..60e5a170c4d2 100644 --- a/drivers/clocksource/arm_global_timer.c +++ b/drivers/clocksource/arm_global_timer.c | |||
@@ -246,11 +246,12 @@ static void __init global_timer_of_register(struct device_node *np) | |||
246 | int err = 0; | 246 | int err = 0; |
247 | 247 | ||
248 | /* | 248 | /* |
249 | * In r2p0 the comparators for each processor with the global timer | 249 | * In A9 r2p0 the comparators for each processor with the global timer |
250 | * fire when the timer value is greater than or equal to. In previous | 250 | * fire when the timer value is greater than or equal to. In previous |
251 | * revisions the comparators fired when the timer value was equal to. | 251 | * revisions the comparators fired when the timer value was equal to. |
252 | */ | 252 | */ |
253 | if ((read_cpuid_id() & 0xf0000f) < 0x200000) { | 253 | if (read_cpuid_part_number() == ARM_CPU_PART_CORTEX_A9 |
254 | && (read_cpuid_id() & 0xf0000f) < 0x200000) { | ||
254 | pr_warn("global-timer: non support for this cpu version.\n"); | 255 | pr_warn("global-timer: non support for this cpu version.\n"); |
255 | return; | 256 | return; |
256 | } | 257 | } |