From: bigunclemax@gmail.com
Cc: bigunclemax@gmail.com, Rick Chen <rick@andestech.com>,
Leo <ycliang@andestech.com>, Tom Rini <trini@konsulko.com>,
Wei Fu <wefu@redhat.com>, Yixun Lan <dlan@gentoo.org>,
Peng Fan <peng.fan@nxp.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Jerome Forissier <jerome.forissier@linaro.org>,
Simon Glass <sjg@chromium.org>,
Sughosh Ganu <sughosh.ganu@linaro.org>,
Nathan Barrett-Morrison <nathan.morrison@timesys.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Raymond Mao <raymond.mao@linaro.org>,
Linus Walleij <linus.walleij@linaro.org>,
Greg Malysa <greg.malysa@timesys.com>,
Kongyang Liu <seashell11234455@gmail.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Jonas Karlman <jonas@kwiboo.se>,
Marek Vasut <marek.vasut+renesas@mailbox.org>,
Kuan Lim Lee <kuanlim.lee@starfivetech.com>,
u-boot@lists.denx.de
Subject: [PATCH v1 0/3] Add sdhci driver support for TH1520 SoC
Date: Sun, 1 Dec 2024 18:06:53 +0300 [thread overview]
Message-ID: <20241201150704.44462-1-bigunclemax@gmail.com> (raw)
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
next reply other threads:[~2024-12-01 15:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-01 15:06 bigunclemax [this message]
2024-12-01 15:06 ` [PATCH v1 1/3] mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241201150704.44462-1-bigunclemax@gmail.com \
--to=bigunclemax@gmail.com \
--cc=dlan@gentoo.org \
--cc=greg.malysa@timesys.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jerome.forissier@linaro.org \
--cc=jh80.chung@samsung.com \
--cc=jonas@kwiboo.se \
--cc=kuanlim.lee@starfivetech.com \
--cc=linus.walleij@linaro.org \
--cc=marek.vasut+renesas@mailbox.org \
--cc=nathan.morrison@timesys.com \
--cc=neil.armstrong@linaro.org \
--cc=peng.fan@nxp.com \
--cc=raymond.mao@linaro.org \
--cc=rick@andestech.com \
--cc=seashell11234455@gmail.com \
--cc=sjg@chromium.org \
--cc=sughosh.ganu@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wefu@redhat.com \
--cc=xypron.glpk@gmx.de \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox