From: Daniel Kurtz Date: Wed, 18 Jul 2012 11:59:44 +0000 (+0800) Subject: exynos5: dt: Increase i2c-1 speed to as close as possible to 400kHz X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=beac47dc4591bff228e6aec48dec223415e442c6;p=cascardo%2Flinux.git exynos5: dt: Increase i2c-1 speed to as close as possible to 400kHz A cyapa touchpad is attached to i2c-1, and it benefit from as fast an i2c as possible (up to 400kHz). In reality, the fastest freq this i2c hardware can acheive is 378 kHz. Signed-off-by: Daniel Kurtz BUG=chrome-os-partner:10899 TEST=Boot and see the following bootup messages: TEST="s3c-i2c s3c2440-i2c.1: bus frequency set to 378 KHz" TEST=Also, ensure the cyapa driver is still loaded correctly, and that TEST=talking to it is fast by reading back its firmware: TEST=time cat /sys/kernel/debug/cyapa/1-0067/read_fw > /tmp/cyapa.fw Change-Id: I7249c081f5f8aa48579c6c96043e2892ae2338ae Reviewed-on: https://gerrit.chromium.org/gerrit/27757 Reviewed-by: Simon Glass Reviewed-by: Benson Leung Reviewed-by: Daniel Kurtz Tested-by: Daniel Kurtz Commit-Ready: Daniel Kurtz --- diff --git a/arch/arm/boot/dts/cros5250-common.dtsi b/arch/arm/boot/dts/cros5250-common.dtsi index e779e6567434..d260048901b9 100644 --- a/arch/arm/boot/dts/cros5250-common.dtsi +++ b/arch/arm/boot/dts/cros5250-common.dtsi @@ -121,7 +121,7 @@ i2c@12C70000 { samsung,i2c-sda-delay = <100>; - samsung,i2c-max-bus-freq = <66000>; + samsung,i2c-max-bus-freq = <400000>; gpios = <&gpb3 2 2 3 0>, <&gpb3 3 2 3 0>;