mach-mx5: fix the I2C clock parents
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 4 Jul 2011 13:52:17 +0000 (15:52 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 Jul 2011 07:07:46 +0000 (09:07 +0200)
commit9d73242458d9a2fe26e2e240488063d414eacb1c
tree2f453638268833aa1c2861473dcaee369cc66f24
parent23e99d4cae02fb782eece2101d9ea67c77920346
mach-mx5: fix the I2C clock parents

The clock from which the I2C timing is derived is the ipg_perclk not ipg_clk.

I2C bus frequency was lower by a factor of ~8 due to the clock divider
calculation being based on 66.5MHz IPG clock while the bus actually
uses 8MHz ipg_perclk.

Kernel version: 3.0.0-rc2 branch 'imx-for-next' of git://git.pengutronix.de/git/imx/linux-2.6

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/clock-mx51-mx53.c