]> Git Repo - linux.git/commitdiff
ARM: dts: ODROID i2c improvements
authorDaniel Drake <[email protected]>
Wed, 16 Jul 2014 08:50:06 +0000 (09:50 +0100)
committerOlof Johansson <[email protected]>
Tue, 19 Aug 2014 21:12:30 +0000 (14:12 -0700)
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 <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Tested-by: Tomeu Vizoso <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
arch/arm/boot/dts/exynos4412-odroid-common.dtsi

index cb6f55f24ccfbdc88c9f90bcd4d8ac2a4d6d3647..adadaf97ac01b78cf02c05d2e117ae181f1a09a0 100644 (file)
        i2c@13860000 {
                pinctrl-0 = <&i2c0_bus>;
                pinctrl-names = "default";
+               samsung,i2c-sda-delay = <100>;
+               samsung,i2c-max-bus-freq = <400000>;
                status = "okay";
 
                usb3503: usb3503@08 {
This page took 0.065078 seconds and 4 git commands to generate.