summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDaniel Drake <drake@endlessm.com>2014-07-16 09:50:06 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:05 +0900
commit46094c150436f1a7658dac8804756f52847dadbe (patch)
tree83aecabf041663699822533c78cb0a093f1c330d /arch
parent972c01d94eb6e7bf46bee0b5e8024c21583673e1 (diff)
downloadlinux-3.10-46094c150436f1a7658dac8804756f52847dadbe.tar.gz
linux-3.10-46094c150436f1a7658dac8804756f52847dadbe.tar.bz2
linux-3.10-46094c150436f1a7658dac8804756f52847dadbe.zip
ARM: dts: ODROID i2c improvements
Increase max i2c bus frequency beyond the default for faster data transfers. According to the manual, these faster speeds are only available when the board is wired up the right way. In this case, the vendor kernel has run at this speed for a long time. sda-delay is needed for talking to RTC on PMIC, otherwise the i2c controller never sees an ACK. Strangely the other PMIC i2c slave (the main one) works fine even without this delay. I Chose value 100 to match the vendor kernel. Signed-off-by: Daniel Drake <drake@endlessm.com> Change-Id: I67bb3df2f61d44a83ac96f57fc64cd1378f90cc5 Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroid-common.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index a20a5770c1c..356198279cf 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -110,6 +110,8 @@
samsung,i2c-max-bus-freq = <100000>;
pinctrl-0 = <&i2c0_bus>;
pinctrl-names = "default";
+ samsung,i2c-sda-delay = <100>;
+ samsung,i2c-max-bus-freq = <400000>;
status = "okay";
usb3503: usb3503@08 {