diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-11-28 18:53:20 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-12-01 00:40:16 +0100 |
commit | f36797ee43802b367e59f0f9a9805304a4ff0c98 (patch) | |
tree | f64265056b3cb1fc10382a991687efd6f5e07e4c /arch/arm/mach-mmp/pxa168.c | |
parent | ARM: mmp2: initialize clocks before the timer (diff) | |
download | linux-f36797ee43802b367e59f0f9a9805304a4ff0c98.tar.xz linux-f36797ee43802b367e59f0f9a9805304a4ff0c98.zip |
ARM: mmp/mmp2: dt: enable the clock
The device-tree booted MMP2 needs to enable the timer clock, otherwise
it would stop ticking when the boot finishes.
It can also use the clock rate from the clk, the non-DT boards need to
keep using the hardcoded rates.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-mmp/pxa168.c')
-rw-r--r-- | arch/arm/mach-mmp/pxa168.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index 0f5f16fb8c66..77a358165a56 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c @@ -79,7 +79,7 @@ void __init pxa168_timer_init(void) /* 3.25MHz, bus/functional clock enabled, release reset */ __raw_writel(TIMER_CLK_RST, APBC_TIMERS); - timer_init(IRQ_PXA168_TIMER1); + timer_init(IRQ_PXA168_TIMER1, 6500000); } void pxa168_clear_keypad_wakeup(void) |