[U-Boot] [PATCH v3 0/4] ARM: Aspeed: Add SD host controller driver

Eddie James
2019-08-15T19:29:36Z

This series adds support for the SD host controller on the Aspeed ast2xxx SocS.
It also enables MMC and the SD controller for the ast2500 EVB.

Changes since v2:
- Remove mmc_initialize call in the ast2500 board init
- Add OF_CONTROL to the ast2500 EVB configuration
- Fix the clock-getting code in the driver probe function

Changes since v1:
- Split the patch up
- Add defconfig and devicetree changes

Eddie James (4):
clk: aspeed: Add support for SD clock
mmc: Add Aspeed SD controller driver
configs: AST2500 EVB: Enable SD controller
ARM: dts: ast2500: Add SDHCI nodes

arch/arm/dts/ast2500-evb.dts | 14 ++++
arch/arm/dts/ast2500-u-boot.dtsi | 16 +++++
arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 +
arch/arm/include/asm/gpio.h | 3 +-
configs/evb-ast2500_defconfig | 8 +++
drivers/clk/aspeed/clk_ast2500.c | 27 ++++++++
drivers/mmc/Kconfig | 11 ++++
drivers/mmc/Makefile | 1 +
drivers/mmc/aspeed_sdhci.c | 90 ++++++++++++++++++++++++++
drivers/pinctrl/aspeed/pinctrl_ast2500.c | 2 +
10 files changed, 174 insertions(+), 1 deletion(-)
create mode 100644 drivers/mmc/aspeed_sdhci.c

--
1.8.3.1