]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00232326 MX6x-Fix incorrect I2C bitrate
authorRanjani Vaidyanathan <ra5478@freescale.com>
Thu, 25 Oct 2012 20:51:51 +0000 (15:51 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:39 +0000 (08:35 +0200)
commitd0232380b00d6964a0d3ece8e5517020ff9e6447
treedf4767388f28717099b3df69d2d4c9394eb34ed8
parent417bc1f82a4b5f5c0a23179b0f966bd7294dc66c
ENGR00232326 MX6x-Fix incorrect I2C bitrate

IPG_PERCLK is the parent of I2C. I2C needs a minimum of
12.8MHz as its input clock to achieve 400KHz speed. Hence
change the IPG_PERCLK speed accordingly.
MX6DQ/MX6DL - Set IPG_PERCLK at 22MHz (sourced from IPG_CLK)
MX6SL - Set IPG_PERCLK to 24MHz(Sourced from 24MHz XTAL).

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/mach-mx6/clock.c
arch/arm/mach-mx6/clock_mx6sl.c