Commit 95d516b9 authored by Daniel Drake's avatar Daniel Drake Committed by Olof Johansson

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: default avatarDaniel Drake <drake@endlessm.com>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Tested-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 4cde3733
...@@ -134,6 +134,8 @@ xusbxti { ...@@ -134,6 +134,8 @@ xusbxti {
i2c@13860000 { i2c@13860000 {
pinctrl-0 = <&i2c0_bus>; pinctrl-0 = <&i2c0_bus>;
pinctrl-names = "default"; pinctrl-names = "default";
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <400000>;
status = "okay"; status = "okay";
usb3503: usb3503@08 { usb3503: usb3503@08 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment