mbox series

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

Message ID 20200122120620.8699-1-linux.amoon@gmail.com
Headers show
Series Odroid n2 using eMMC would fail to boot up | expand

Message

Anand Moon Jan. 22, 2020, 12:06 p.m. UTC
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(-)