summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichel Jaouen <michel.jaouen@stericsson.com>2012-08-31 14:21:30 +0200
committerMike Turquette <mturquette@linaro.org>2012-09-06 17:57:21 -0700
commit20aee5b6d7738206bfd37b352a97c75627d6fa6d (patch)
treef45347497f0b6861521ae80246534cfce49748de /include/linux
parent70b1fce2ec3a89e68a35d99e5e9c6c90338b3dd1 (diff)
downloadlinux-stable-20aee5b6d7738206bfd37b352a97c75627d6fa6d.tar.gz
linux-stable-20aee5b6d7738206bfd37b352a97c75627d6fa6d.tar.bz2
linux-stable-20aee5b6d7738206bfd37b352a97c75627d6fa6d.zip
mfd: dbx500: Provide a more accurate smp_twd clock
The local timer clock is based on ARM subsystem clock. This patch obtains a more exact value of that clock by reading PRCMU registers. Using this increases the accuracy of the local timer events. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Signed-off-by: Michel Jaouen <michel.jaouen@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/dbx500-prcmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h
index 5b90e94399e1..c410d99bd667 100644
--- a/include/linux/mfd/dbx500-prcmu.h
+++ b/include/linux/mfd/dbx500-prcmu.h
@@ -136,6 +136,7 @@ enum prcmu_clock {
PRCMU_TIMCLK,
PRCMU_PLLSOC0,
PRCMU_PLLSOC1,
+ PRCMU_ARMSS,
PRCMU_PLLDDR,
PRCMU_PLLDSI,
PRCMU_DSI0CLK,