Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH 0/3] rockchip: Add support for onboard eMMC on Radxa E20C
@ 2025-03-05 21:41 Jonas Karlman
  2025-03-05 21:41 ` [PATCH 1/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add compatible string for RK3528 Jonas Karlman
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jonas Karlman @ 2025-03-05 21:41 UTC (permalink / raw)
  To: Heiko Stuebner, Ulf Hansson, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Yao Zi, linux-rockchip, linux-mmc, devicetree, linux-arm-kernel,
	linux-kernel, Jonas Karlman

The Radxa E20C may come with an onboard eMMC (8GB / 16GB / 32GB / 64GB).

This series add dt-binding and SoC DT node for the SDHCI controller
and enable use of the SDCHI controller on the Radxa E20C.

This series add support for the onboard eMMC on Radxa E20C.

Driver changes to use different delay and tap num is needed to be able
to support HS400 modes, something for a future series. With this HS200
mode should work:

  mmc0: SDHCI controller on ffbf0000.mmc [ffbf0000.mmc] using ADMA
  mmc0: new HS200 MMC card at address 0001
  mmcblk0: mmc0:0001 TLi16G 14.7 GiB
   mmcblk0: p1 p2 p3
  mmcblk0boot0: mmc0:0001 TLi16G 4.00 MiB
  mmcblk0boot1: mmc0:0001 TLi16G 4.00 MiB
  mmcblk0rpmb: mmc0:0001 TLi16G 4.00 MiB, chardev (499:0)

  ~ # cat /sys/kernel/debug/mmc0/ios
  clock:          200000000 Hz
  actual clock:   198000000 Hz
  vdd:            21 (3.3 ~ 3.4V)
  bus mode:       2 (push-pull)
  chip select:    0 (don't care)
  power mode:     2 (on)
  bus width:      3 (8bits)
  timing spec:    9 (mmc HS200)
  signal voltage: 1 (1.80 V)
  driver type:    0 (driver type B)

  ~ # hdparm -t /dev/mmcblk0p1
  /dev/mmcblk0p1:
  Timing buffered disk reads:   64 MB in 0.37 seconds = 173154 kB/s

This series depends on v2 of the "Support SD/SDIO controllers on RK3528"
series for a clean apply.

Jonas Karlman (3):
  dt-bindings: mmc: sdhci-of-dwcmhsc: Add compatible string for RK3528
  arm64: dts: rockchip: Add SDHCI controller for RK3528
  arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C

 .../bindings/mmc/snps,dwcmshc-sdhci.yaml      |  4 +++-
 .../boot/dts/rockchip/rk3528-radxa-e20c.dts   | 12 ++++++++++
 arch/arm64/boot/dts/rockchip/rk3528.dtsi      | 24 +++++++++++++++++++
 3 files changed, 39 insertions(+), 1 deletion(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-03-12 19:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 21:41 [PATCH 0/3] rockchip: Add support for onboard eMMC on Radxa E20C Jonas Karlman
2025-03-05 21:41 ` [PATCH 1/3] dt-bindings: mmc: sdhci-of-dwcmhsc: Add compatible string for RK3528 Jonas Karlman
2025-03-06  9:36   ` Krzysztof Kozlowski
2025-03-06 22:53     ` Jonas Karlman
2025-03-12 11:24   ` Ulf Hansson
2025-03-05 21:41 ` [PATCH 2/3] arm64: dts: rockchip: Add SDHCI controller " Jonas Karlman
2025-03-05 21:41 ` [PATCH 3/3] arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C Jonas Karlman
2025-03-06  9:00 ` [PATCH 0/3] rockchip: Add support for " Chukun Pan
2025-03-06  9:16   ` Jonas Karlman
2025-03-12 19:38 ` (subset) " Heiko Stuebner

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