]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: dbx500: Provide a more accurate smp_twd clock
authorMichel Jaouen <michel.jaouen@stericsson.com>
Fri, 31 Aug 2012 12:21:30 +0000 (14:21 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 23 Sep 2012 18:51:34 +0000 (20:51 +0200)
commit804971ec3793d30f40c1a74775dd3fe89deb461a
treeedec886d66c3b2b02c4030cb679d730156abe2e2
parent0dd96360e21ec7963aeba253261db87a32e728c6
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: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/db8500-prcmu.c
drivers/mfd/dbx500-prcmu-regs.h
include/linux/mfd/dbx500-prcmu.h