ARM: mxs: Slow down the I2C clock speed
PATCH 1/1 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.
--- arch/arm/boot/dts/imx28-m28evk.dts | 1 - arch/arm/boot/dts/imx28-sps1.dts | 1 - 2 files changed, 2 deletions(-)
arch/arm/boot/dts/imx28-m28evk.dts +0 -1
@@ -177,7 +177,6 @@ i2c0: i2c at 80058000 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; - clock-frequency = <400000>; status = "okay"; sgtl5000: codec at 0a {
arch/arm/boot/dts/imx28-sps1.dts +0 -1
@@ -70,7 +70,6 @@ i2c0: i2c at 80058000 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; - clock-frequency = <400000>; status = "okay"; rtc: rtc at 51 {
Signature · 1 line
1.7.10.4
PATCH 1/1 ARM: mxs: Slow down the I2C clock speed
Marek,
Quoted 8 lines · Marek Vasut
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 <[email protected]>
You consider it a fix for 3.9 or just material for 3.10?
Shawn
PATCH 1/1 ARM: mxs: Slow down the I2C clock speed
Dear Shawn Guo,
Quoted 10 lines
Marek,
Quoted 7 lines · Marek Vasut
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.
Quoted 3 lines
Quoted 1 line
Signed-off-by Marek Vasut <[email protected]>You consider it a fix for 3.9 or just material for 3.10?
Fix for 3.9 please.
Best regards,
Marek Vasut