Skip to content

Fixes for MMC gates series

Andre Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sunxi: board: do MMC pinmux setup for DM_MMC buildsboard/sunxi/board.c+13 -00 replies
2/2sunxi: clk: enable clk and reset for CCU devicesdrivers/clk/sunxi/clk_sunxi.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] Fixes for MMC gates series

Hi,

there were two issues mentioned on the ML with the MMC gates series (many thanks to the diligent testers!):
1) When booting from SPI or via USB FEL, any MMC device (SD or eMMC) is not working, as we miss the pinmux setup. Fix this is patch 1 in a slightly hackish, but working way.

2) The odd MMC config clock in the A80 SoC has parent clocks and reset gates of its own, which need to be enabled before this clocks is usable. Simple scan for all listed clocks and reset gates in the generic CCU probe function and enable all of them.

Jagan, can you please pick those two patches for the MMC gates series? Patch 1 should come before enabling DM_MMC, patch 2 before the A80 MMC clock patch.

Cheers,
Andre.

Andre Przywara (2):
sunxi: board: do MMC pinmux setup for DM_MMC builds
sunxi: clk: enable clk and reset for CCU devices

 board/sunxi/board.c           | 13 +++++++++++++
 drivers/clk/sunxi/clk_sunxi.c | 11 +++++++++++
 2 files changed, 24 insertions(+)
Signature · 1 line
2.14.5