Skip to content

Commit

Permalink
ARM: dts: ODROID i2c improvements
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dsd authored and olofj committed Aug 19, 2014
1 parent 4cde373 commit 95d516b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/exynos4412-odroid-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
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 {
Expand Down

0 comments on commit 95d516b

Please sign in to comment.