]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 5 Jul 2011 17:00:09 +0000 (19:00 +0200)
commitd8353101eadb262d5a93ef02cc96ae3188520dfb
tree883644e73eb797a6ad83d9b8301161ba65398445
parente831a271fb45650148ed405884eece54e73b7908
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