arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
authorPeter Geis <pgwipeout@gmail.com>
Wed, 13 Mar 2019 19:02:30 +0000 (19:02 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 Mar 2019 07:45:29 +0000 (08:45 +0100)
commit09f91381fa5de1d44bc323d8bf345f5d57b3d9b5
tree84a00ed38f1d59590e2025af06c0c40d13929fdf
parent6fd8b9780ec1a49ac46e0aaf8775247205e66231
arm64: dts: rockchip: fix rk3328 sdmmc0 write errors

Various rk3328 based boards experience occasional sdmmc0 write errors.
This is due to the rk3328.dtsi tx drive levels being set to 4ma, vs
8ma per the rk3328 datasheet default settings.

Fix this by setting the tx signal pins to 8ma.
Inspiration from tonymac32's patch,
https://github.com/ayufan-rock64/linux-kernel/commit/dc1212b347e0da17c5460bcc0a56b07d02bac3f8

Fixes issues on the rk3328-roc-cc and the rk3328-rock64 (as per the
above commit message).

Tested on the rk3328-roc-cc board.

Fixes: 52e02d377a72 ("arm64: dts: rockchip: add core dtsi file for RK3328 SoCs")
Cc: stable@vger.kernel.org
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi