[PATCH v2 0/3] rockchip: rk35xx: Fix writing to eMMC

Jonas Karlman jonas at kwiboo.se
Sun Feb 4 21:53:04 CET 2024


Testing has shown that writing to eMMC using DDR52 mode does not seem to
work on RK356x and RK3588 boards.

This series fixes this issue by changing RK356x and RK3588 boards to
prefer use of the more reliably HS200 mode.

Changes in v2:
- Update commit messages
- Imply MMC_HS200_SUPPORT and SPL_MMC_HS200_SUPPORT in arch Kconfig
  instead of adding to each boards defconfig
- Combine changes for rk356x and rk3588 in one patch
- New patch to fix HS400 mode write on RK3568

Link to v1: https://patchwork.ozlabs.org/cover/1891692/

This series depend on the series "rockchip: rk35xx: Sync device tree
with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

Jonas Karlman (3):
  rockchip: rk35xx: Remove use of eMMC DDR52 mode
  rockchip: rk35xx: Enable eMMC HS200 mode by default
  rockchip: sdhci: Fix eMMC HS400 modes for RK3568

 arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi   | 1 -
 arch/arm/dts/rk3566-quartz64-b-u-boot.dtsi   | 1 -
 arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 1 -
 arch/arm/dts/rk3566-soquartz-u-boot.dtsi     | 1 -
 arch/arm/dts/rk3568-lubancat-2-u-boot.dtsi   | 1 -
 arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi   | 1 -
 arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi    | 1 -
 arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi    | 1 -
 arch/arm/dts/rk3568-rock-3a-u-boot.dtsi      | 1 -
 arch/arm/dts/rk3588-rock-5b-u-boot.dtsi      | 1 -
 arch/arm/dts/rk3588-turing-rk1-u-boot.dtsi   | 1 -
 arch/arm/dts/rk3588s-rock-5a-u-boot.dtsi     | 1 -
 arch/arm/mach-rockchip/Kconfig               | 4 ++++
 configs/nanopi-r5c-rk3568_defconfig          | 2 --
 configs/nanopi-r5s-rk3568_defconfig          | 2 --
 configs/radxa-e25-rk3568_defconfig           | 2 --
 drivers/mmc/rockchip_sdhci.c                 | 9 +++++----
 17 files changed, 9 insertions(+), 22 deletions(-)

-- 
2.43.0



More information about the U-Boot mailing list