ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Sun, 4 Sep 2016 11:04:15 +0000 (13:04 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 16 Sep 2016 11:32:09 +0000 (13:32 +0200)
commitf7061ffb44116490f282f130a220ca2d10849248
tree08062cf65df40e7ff68dea932e647c7d34994653
parenta2f2bc384e8df20b881625e6a92726d5b9f39d6b
ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210

The pinctrl pull up/down register on exynos4210 is 2-bit wide for each
pin and it accepts only values of 0, 1 and 3.  The pins sd4-bus-width8
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 pull down.

The author's intention was probably to set drive strength of 4x.  All
other bus-widths pins are configured with pull up and drive strength of
4x.  Fix this one with same pattern.

Fixes: 87711d8c7c70 ("ARM: dts: Add pinctrl node entries for SAMSUNG EXYNOS4210 SoC")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/exynos4210-pinctrl.dtsi