[U-Boot] [PATCH v3 0/9] mmc: sunxi: Enable DM_MMC

Jagan Teki
2019-01-21T10:31:06Z

Compared to previous version changes[1] this version do manage
ahb clocks/resets via CLK framework.

This version created changes along with Andre patches to support
clock/resets[2]

Tested A64, SD, eMMC and respective changes available at
u-boot-sunxi/next

Changes for v3:
- Handle clock via CLK framework.
Changes for v2:
- update the 'reset enablement' logic to do
required SoC's

[1] https://patchwork.ozlabs.org/cover/1026828/
[2] https://patchwork.ozlabs.org/cover/1027850/

Andre Przywara (2):
sunxi: clk: add MMC gates/resets
sunxi: clk: A80: add MMC clock support

Jagan Teki (7):
mmc: sunxi: Add A83T emmc compatible
mmc: sunxi: Add mmc, emmc H5/A64 compatible
mmc: sunxi: Add DM_MMC support for H6
mmc: sunxi: Add DM_MMC support for A80
dm: mmc: sunxi: Add CLK and RESET support
arm: sunxi: Enable DM_MMC
arm: dts: sunxi: Enumerate MMC2 as MMC1

arch/arm/Kconfig | 1 +
arch/arm/dts/sunxi-u-boot.dtsi | 4 ++
arch/arm/mach-sunxi/Kconfig | 1 -
configs/Linksprite_pcDuino3_defconfig | 1 -
drivers/clk/sunxi/clk_a10.c | 4 ++
drivers/clk/sunxi/clk_a10s.c | 3 +
drivers/clk/sunxi/clk_a23.c | 6 ++
drivers/clk/sunxi/clk_a31.c | 8 +++
drivers/clk/sunxi/clk_a64.c | 6 ++
drivers/clk/sunxi/clk_a80.c | 28 ++++++++-
drivers/clk/sunxi/clk_a83t.c | 6 ++
drivers/clk/sunxi/clk_h3.c | 6 ++
drivers/clk/sunxi/clk_h6.c | 6 ++
drivers/clk/sunxi/clk_r40.c | 8 +++
drivers/clk/sunxi/clk_v3s.c | 6 ++
drivers/mmc/sunxi_mmc.c | 84 +++++++++++++++++++++++++--
16 files changed, 170 insertions(+), 8 deletions(-)

--
2.18.0.321.gffc6fa0e3