]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mxs: Slow down the I2C clock speed
authorMarek Vasut <marex@denx.de>
Mon, 1 Apr 2013 23:29:29 +0000 (01:29 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Apr 2013 01:34:01 +0000 (09:34 +0800)
commit83bc2fb38a76e5ac498b560ce23f55b1205aa49b
treebce64f5051460b384a69020ff66df0c34d2f33bc
parentf64b98f6321b322ab9cd9e57f5d96e9055875194
ARM: mxs: Slow down the I2C clock speed

Slow down the I2C clock speed on M28 and SPS1 as it turns out the
I2C block in i.MX28 can not operate stable enough with the bus
running at 400kHz. Note that the driver used by Freescale runs
the bus at 250kHz when 400kHz speed is selected, but the mainline
Linux kernel runs the bus at actual 400kHz and that's where it is
occasionally unstable. Play safe and run the bus at 100kHz.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-m28evk.dts
arch/arm/boot/dts/imx28-sps1.dts