]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
authorPeter Geis <pgwipeout@gmail.com>
Wed, 13 Mar 2019 19:02:30 +0000 (19:02 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit508a5a5b6e97ddbec44d7f6c13cff2034499e59a
tree67abff61468aed7f5357d2b1e2ac72bb8eb5bca1
parenta19795269a92e9d2e9fe5ac5f9a76208b3563aa4
arm64: dts: rockchip: fix rk3328 sdmmc0 write errors

BugLink: https://bugs.launchpad.net/bugs/1838116
commit 09f91381fa5de1d44bc323d8bf345f5d57b3d9b5 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm64/boot/dts/rockchip/rk3328.dtsi