[Patchv4 0/3] Odroid n2 using eMMC would fail to boot up

Anand Moon
2020-01-22T12:06:17Z

Here are some small changes to fix booting of Odroid N2 using eMMC.
Fixed the clk tunnig during mmc initialization.
Added two new patches to fix warning

Build and tested on top of below patches
[0] https://patchwork.ozlabs.org/patch/1213648/
[1] https://patchwork.ozlabs.org/patch/1213650/

Tested on below eMMC module on Odroid N2 and C2
new orange - eMMC AJNB4R 14.6 GiB MMC 5.1
old back - eMMC CGND3R 58.2 GiB MMC 5.0

Prevoius changes:
Fixed the clk tuning as per mainline kernel

[3]v1 https://patchwork.ozlabs.org/cover/1201206/
[4]v2 https://patchwork.ozlabs.org/cover/1215217/
[5]v3 https://www.mail-archive.com/u-boot at lists.denx.de/msg351859.html

-Anand

Anand Moon (3):
mmc: meson-gx: Fix clk phase tuning for MMC
arm: dts: Add mmc alias to avoid warning
arm: dts: Add cd-gpio for eMMC

arch/arm/dts/meson-axg-s400.dts | 2 +
arch/arm/dts/meson-g12a-sei510.dts | 3 ++
arch/arm/dts/meson-g12a-u200.dts | 3 ++
arch/arm/dts/meson-g12b-odroid-n2.dts | 4 ++
arch/arm/dts/meson-gxbb-odroidc2.dts | 3 ++
arch/arm/dts/meson-gxbb-p20x.dtsi | 3 ++
arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 3 ++
arch/arm/dts/meson-gxl-s905x-p212.dtsi | 3 ++
arch/arm/dts/meson-gxm-khadas-vim2.dts | 3 ++
arch/arm/dts/meson-sm1-sei610.dts | 3 ++
arch/arm/include/asm/arch-meson/sd_emmc.h | 11 ++----
drivers/mmc/meson_gx_mmc.c | 38 ++++++++++++++++---
12 files changed, 65 insertions(+), 14 deletions(-)

--
2.25.0