]> git.baikalelectronics.ru Git - kernel.git/commit
clock-imx35: Calculate the base clock rate for the IPU unit
authorJuergen Beisert <jbe@pengutronix.de>
Mon, 16 Aug 2010 13:54:07 +0000 (15:54 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 17 Aug 2010 07:31:49 +0000 (09:31 +0200)
commitb2b765cbe46d63ca91934fb01d5dc02cdc0a1e0c
tree397bf1126692d9fd09ead40b2cda87618f24a7dc
parent7d718d2469c42417698684ceb9e7032641f31e76
clock-imx35: Calculate the base clock rate for the IPU unit

The mx3fb driver needs the clock the IPU runs in order to calculate
the divider for the LCD clock. This patch adds the clock rate calculation
routine for the i.MX35 CPU.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/clock-imx35.c