All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Add SD card and eMMC support for SpacemiT K1
@ 2026-06-12 20:18 Raymond Mao
  2026-06-12 20:18 ` [PATCH 1/8] spacemit: k1: select boot device via config registers Raymond Mao
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Raymond Mao @ 2026-06-12 20:18 UTC (permalink / raw)
  To: u-boot
  Cc: uboot, u-boot-spacemit, raymond.mao, rick, ycliang, trini, lukma,
	hs, jh80.chung, peng.fan, xypron.glpk, randolph, dlan, junhui.liu,
	neil.armstrong, quentin.schulz, samuel, raymondmaoca

From: Raymond Mao <raymond.mao@riscstar.com>

This series adds MMC support for the SpacemiT K1: an SDHCI platform
driver, the SD card device-tree overlay, defconfig options, and SPL
boot-device selection from the SoC strap/config registers. The SDHCI
driver is usable in both SPL and U-Boot proper.
    
It also carries two generic cmd/meminfo fixes needed on K1, whose DRAM
is larger than 4 GB and split across two banks with an address hole:
widen the printed addresses to phys_addr_t, and account LMB regions per
bank.
    
A flashing guide (doc/board/spacemit/k1-flash.rst) describes how to
write images to eMMC.
    
This series sits on top of three series still under review, and must be
applied after them, in this order:
    
1. K1 clock/reset/dts migration v2 [1]  (8 patches)
2. K1 SPL bring-up v4 [2]              (14 patches)
3. K1 pinctrl/GPIO and SPI NOR v2 [3]   (9 patches)
Then this series                        (8 patches)
    
[1] https://lore.kernel.org/u-boot/20260526-b4-k1-clk-reset-upstream-dts-v2-0-af815e362b0c@riscstar.com/
[2] https://lore.kernel.org/u-boot/20260519-b4-k1-spl-bring-up-v4-0-3915a2a904c1@riscstar.com/
[3] https://lore.kernel.org/u-boot/20260520-b4-k1-spl-pinctrl-spinor-v2-0-8d25db98ac8e@riscstar.com/
    
Guodong Xu (8):
  spacemit: k1: select boot device via config registers
  mmc: k1: add sdhci platform driver
  dts: k1: add SD card support in u-boot overlay
  configs: k1: enable SD and eMMC support
  doc: spacemit: flash on K1 SoC based boards
  cmd: meminfo: widen memory map addresses to phys_addr_t
  cmd: meminfo: fix the lmb info for large DRAM
  cmd: tlv_eeprom: fix accessing invalid parameter

 arch/riscv/dts/k1-bananapi-f3-u-boot.dtsi |  87 +-
 arch/riscv/dts/k1-musepi-pro-u-boot.dtsi  |  82 +-
 board/spacemit/k1/MAINTAINERS             |   3 +-
 board/spacemit/k1/spl.c                   |  77 +-
 cmd/meminfo.c                             |  53 +-
 cmd/tlv_eeprom.c                          |   2 +-
 configs/spacemit_k1_defconfig             |  17 +
 doc/board/spacemit/index.rst              |   1 +
 doc/board/spacemit/k1-flash.rst           | 157 ++++
 drivers/mmc/Kconfig                       |   7 +
 drivers/mmc/Makefile                      |   1 +
 drivers/mmc/spacemit_sdhci.c              | 934 ++++++++++++++++++++++
 12 files changed, 1401 insertions(+), 20 deletions(-)
 create mode 100644 doc/board/spacemit/k1-flash.rst
 create mode 100644 drivers/mmc/spacemit_sdhci.c

-- 
2.25.1


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

end of thread, other threads:[~2026-06-13  6:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12 20:18 [PATCH 0/8] Add SD card and eMMC support for SpacemiT K1 Raymond Mao
2026-06-12 20:18 ` [PATCH 1/8] spacemit: k1: select boot device via config registers Raymond Mao
2026-06-13  3:50   ` Yao Zi
2026-06-12 20:18 ` [PATCH 2/8] mmc: k1: add sdhci platform driver Raymond Mao
2026-06-13  6:43   ` Yao Zi
2026-06-12 20:18 ` [PATCH 3/8] dts: k1: add SD card support in u-boot overlay Raymond Mao
2026-06-12 20:18 ` [PATCH 4/8] configs: k1: enable SD and eMMC support Raymond Mao
2026-06-12 20:18 ` [PATCH 5/8] doc: spacemit: flash on K1 SoC based boards Raymond Mao
2026-06-12 20:18 ` [PATCH 6/8] cmd: meminfo: widen memory map addresses to phys_addr_t Raymond Mao
2026-06-12 20:19 ` [PATCH 7/8] cmd: meminfo: fix the lmb info for large DRAM Raymond Mao
2026-06-12 20:19 ` [PATCH 8/8] cmd: tlv_eeprom: fix accessing invalid parameter Raymond Mao

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.