
Hi list,
I want to introduce support for DesignWare SDHCI host controller on Alibaba TH1520 SoC. The driver based on mainline Linux and Revyos U-boot drivers. Work with eMMC and SD was tested on a LicheePi 4A board.
I would like to point out that the TH1520's SDHCI controller is very similar to Rockchip's IPs those already have U-boot driver - rockchip_sdhci.c Also on Linux, T-head and Rockchip SDHCI controllers use a common driver - sdhci-of-dwcmshc.c
At my glance we have two options: - leave TH1520 in a separate driver - stretch this driver on rockchip_sdhc
I chose the first option for now. And would be glad to hear your thoughts.
Best regards, Maksim
Maksim Kiselev (1): mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC
drivers/mmc/Kconfig | 12 + drivers/mmc/Makefile | 1 + drivers/mmc/snps_sdhci.c | 464 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 477 insertions(+) create mode 100644 drivers/mmc/snps_sdhci.c