Skip to content

RFC Add TH1520 eMMC/SD controller support

Maksim Kiselev u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mmc: snps_sdhci: Add sdhci driver support for TH1520 SoCdrivers/mmc/Kconfig drivers/mmc/Makefile drivers/mmc/snps_sdhci.c+477 -06 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchHeinrich Schuchardt
1/1T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH v1 0/1] Add TH1520 eMMC/SD controller support

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
Signature · 1 line
2.40.1