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)
commitc735c40587cea45f9d2f83339f374595073c1923
tree397bf1126692d9fd09ead40b2cda87618f24a7dc
parentc56702de106b4fde301282f7ea60412276481442
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