All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Add sdhci driver support for TH1520 SoC
@ 2024-12-01 15:06 bigunclemax
  2024-12-01 15:06 ` [PATCH v1 1/3] mmc: snps_sdhci: " bigunclemax
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: bigunclemax @ 2024-12-01 15:06 UTC (permalink / raw)
  Cc: bigunclemax, Rick Chen, Leo, Tom Rini, Wei Fu, Yixun Lan,
	Peng Fan, Jaehoon Chung, Ilias Apalodimas, Jerome Forissier,
	Simon Glass, Sughosh Ganu, Nathan Barrett-Morrison,
	Neil Armstrong, Raymond Mao, Linus Walleij, Greg Malysa,
	Kongyang Liu, Heinrich Schuchardt, Jonas Karlman, Marek Vasut,
	Kuan Lim Lee, u-boot

From: Maksim Kiselev <bigunclemax@gmail.com>

Hi friends,

This patchset is a continuation of RFC
https://lore.kernel.org/u-boot/20240330175948.80931-1-bigunclemax@gmail.com/

It extends the previous version by adding sd and emmc nodes to lpi4a DT.
And enables required options in th1520_lpi4a_defconfig.

Also I did some testing of emmc on the lpi4a board and got
following results:

EMMC - 8Gb 8GTF4R (KLM8G1GETF-B041)
Sequential read\write of 1Gb with ADMA2

MB\s            READ    WRITE
------------------------------
MMC legacy      23      22
MMC_HS          23      22
MMC_HS_52       46      38
MMC_DDR_52      86      47
MMC_HS_200      176     48
MMC_HS_400      324     48
MMC_HS_400_ES   324     48

The results obtained are quite close to the values indicated
in the Samsung's datasheet*:

330MB\s - seq READ
50MB\s - seq WRITE

* Test Condition : Bus width x8, HS400, 512KB data transfer,
w/o file system overhead, measured on Samsung’s internal board.

Best regards,
Maksim

Maksim Kiselev (3):
  mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC
  riscv: dts: t-head: Add sdhci and emmc nodes
  configs: th1520_lpi4a: enable mmc controller support

 arch/riscv/dts/th1520-lichee-module-4a.dtsi |  18 +
 arch/riscv/dts/th1520.dtsi                  |  34 ++
 configs/th1520_lpi4a_defconfig              |  11 +-
 drivers/mmc/Kconfig                         |  12 +
 drivers/mmc/Makefile                        |   1 +
 drivers/mmc/snps_sdhci.c                    | 494 ++++++++++++++++++++
 6 files changed, 569 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mmc/snps_sdhci.c

-- 
2.45.2


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

end of thread, other threads:[~2024-12-09 10:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-01 15:06 [PATCH v1 0/3] Add sdhci driver support for TH1520 SoC bigunclemax
2024-12-01 15:06 ` [PATCH v1 1/3] mmc: snps_sdhci: " bigunclemax
2024-12-04 23:36   ` Jaehoon Chung
2024-12-09 10:15     ` Maxim Kiselev
2024-12-01 15:06 ` [PATCH v1 2/3] riscv: dts: t-head: Add sdhci and emmc nodes bigunclemax
2024-12-04  0:18   ` Jaehoon Chung
2024-12-01 15:06 ` [PATCH v1 3/3] configs: th1520_lpi4a: enable mmc controller support bigunclemax
2024-12-04  0:26   ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.