diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-06-01 08:26:49 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-06-16 22:29:31 +0100 |
commit | 2917947a673763be5f94313a59e5f28ee01b3d9d (patch) | |
tree | 7cf356130bf1cf94c9ca26494ae5fd92a14073b3 /arch/arm/plat-nomadik/include | |
parent | f6aa01c2b8950a29503e93fc8b91f0d64f440c34 (diff) |
ARM: 6153/1: nomadik MTU to use dynamic shift and mult assignment
This removes the hard-coded shift values for the MTU timer, since
the different platforms using this has very different running
frequencies doing this dynamically is a better idea. Also take
this opportunity to make a more through shutdown of the MTU
clockevent when requested.
Acked-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-nomadik/include')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/mtu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/mtu.h b/arch/arm/plat-nomadik/include/plat/mtu.h index 42c907258b1..65704a3d424 100644 --- a/arch/arm/plat-nomadik/include/plat/mtu.h +++ b/arch/arm/plat-nomadik/include/plat/mtu.h @@ -1,6 +1,12 @@ #ifndef __PLAT_MTU_H #define __PLAT_MTU_H +/* + * Guaranteed runtime conversion range in seconds for + * the clocksource and clockevent. + */ +#define MTU_MIN_RANGE 4 + /* should be set by the platform code */ extern void __iomem *mtu_base; |