ARM: mmp/mmp2: dt: enable the clock
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 28 Nov 2018 17:53:20 +0000 (18:53 +0100)
committerOlof Johansson <olof@lixom.net>
Fri, 30 Nov 2018 23:40:16 +0000 (15:40 -0800)
commitf36797ee43802b367e59f0f9a9805304a4ff0c98
treef64265056b3cb1fc10382a991687efd6f5e07e4c
parente78ebdcb6ea83a891e6940381190040ae299e82d
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>
arch/arm/mach-mmp/common.h
arch/arm/mach-mmp/mmp2.c
arch/arm/mach-mmp/pxa168.c
arch/arm/mach-mmp/time.c