ARM: i.MX: change timer clock from ipg to perclk
authorRichard Zhao <richard.zhao@freescale.com>
Tue, 15 May 2012 07:34:40 +0000 (15:34 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 16 May 2012 10:38:51 +0000 (12:38 +0200)
Contrary to the ipg clock the perclk rate is not changed or
gated in low power mode, so we choose perclk for gpt.

With the port to the common clock framework as a side effect
the timer used the rate returned from the peripheral clock
but the hardware was still programmed to use the ipg clock,
so this patch only changes the hardware to really use the
clock it already assumed.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found