2013-04-22 10:04:55

by Maxime Ripard

[permalink] [raw]
Subject: [PATCH 1/4] ARM: cfa10036: dt: Change i2c0 clock frequency

The OLED display can work faster. Change the i2c controller clock
frequency to remove the tearing effect that can be seen on the display.

Signed-off-by: Maxime Ripard <[email protected]>
---
arch/arm/boot/dts/imx28-cfa10036.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts
index 40488f5a8..a524caf 100644
--- a/arch/arm/boot/dts/imx28-cfa10036.dts
+++ b/arch/arm/boot/dts/imx28-cfa10036.dts
@@ -67,6 +67,7 @@
i2c0: i2c@80058000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_b>;
+ clock-frequency = <400000>;
status = "okay";

ssd1306: oled@3c {
--
1.7.10.4


2013-05-08 14:01:13

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH 1/4] ARM: cfa10036: dt: Change i2c0 clock frequency

On Mon, Apr 22, 2013 at 12:02:22PM +0200, Maxime Ripard wrote:
> The OLED display can work faster. Change the i2c controller clock
> frequency to remove the tearing effect that can be seen on the display.
>
> Signed-off-by: Maxime Ripard <[email protected]>

Applied, thanks.