Commit 5e49773f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Fix mismatched values of SD drive strengh configuration on exynos4415

The pinctrl drive strength register on exynos4415 is 2-bit wide for each
pin.  The pins for SD2 were configured with value of 4.  The driver does
not validate the value so this overflow effectively set a bit 1 in
adjacent pins thus configuring them to drive strength 2x.

The author's intention was probably to set drive strength of 4x.
All other SD pins are configured with drive strength of 4x.  Fix these
with same pattern.

Fixes: 9246e7ff ("ARM: dts: Add dts files for exynos4415 SoC")
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f7061ffb
...@@ -480,14 +480,14 @@ sd2_clk: sd2-clk { ...@@ -480,14 +480,14 @@ sd2_clk: sd2-clk {
samsung,pins = "gpk2-0"; samsung,pins = "gpk2-0";
samsung,pin-function = <EXYNOS_PIN_FUNC_2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cmd: sd2-cmd { sd2_cmd: sd2-cmd {
samsung,pins = "gpk2-1"; samsung,pins = "gpk2-1";
samsung,pin-function = <EXYNOS_PIN_FUNC_2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_cd: sd2-cd { sd2_cd: sd2-cd {
...@@ -501,14 +501,14 @@ sd2_bus1: sd2-bus-width1 { ...@@ -501,14 +501,14 @@ sd2_bus1: sd2-bus-width1 {
samsung,pins = "gpk2-3"; samsung,pins = "gpk2-3";
samsung,pin-function = <EXYNOS_PIN_FUNC_2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
sd2_bus4: sd2-bus-width4 { sd2_bus4: sd2-bus-width4 {
samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6"; samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
samsung,pin-function = <EXYNOS_PIN_FUNC_2>; samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
samsung,pin-drv = <4>; samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
}; };
cam_port_b_io: cam-port-b-io { cam_port_b_io: cam-port-b-io {
......
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