public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/1] Add TH1520 eMMC/SD controller support
@ 2024-03-30 17:59 Maksim Kiselev
  2024-03-30 17:59 ` [RFC PATCH v1 1/1] mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC Maksim Kiselev
  0 siblings, 1 reply; 8+ messages in thread
From: Maksim Kiselev @ 2024-03-30 17:59 UTC (permalink / raw)
  Cc: Maksim Kiselev, Tom Rini, Peng Fan, Jaehoon Chung, Paul Barker,
	Marek Vasut, Kever Yang, Oleksandr Suvorov, Stefan Roese,
	Peter Geis, u-boot

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

-- 
2.40.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-17 10:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-30 17:59 [RFC PATCH v1 0/1] Add TH1520 eMMC/SD controller support Maksim Kiselev
2024-03-30 17:59 ` [RFC PATCH v1 1/1] mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC Maksim Kiselev
2024-04-02 14:47   ` Heinrich Schuchardt
2024-04-02 17:19     ` Maxim Kiselev
2024-04-02 19:08       ` Heinrich Schuchardt
2024-04-02 15:39   ` Sean Anderson
2024-04-02 18:56     ` Maxim Kiselev
2024-04-17 10:50       ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox