[PATCH] riscv: defconfig: spacemit: enable sdhci driver for K1 SoC

Yixun Lan dlan at gentoo.org
Mon Jul 7 18:44:56 PDT 2025


Enable sdhci driver support for SpacemiT K1 SoC, so eMMC storage
will be probed and activated, Tested on the Banana Pi BPI-F3 board.

Signed-off-by: Yixun Lan <dlan at gentoo.org>
---
Since the K1 sdhci driver is already merged, and the DT part is 
queued for v6.17, so let's enable defconfig of this driver.

For the convenience, this patch is based on the branch 'for-next'
of riscv tree[1], and generated by command "make savedefconfig".

Link: https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git [1]
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 37c98c0f98ffc0ee9d021e4d07aa37a27d342f7a..d8e1593ceeca487c6af67c73cb176c488f38bf13 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -230,6 +230,7 @@ CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
 CONFIG_MMC_SDHCI_OF_DWCMSHC=y
+CONFIG_MMC_SDHCI_OF_K1=y
 CONFIG_MMC_SDHCI_CADENCE=y
 CONFIG_MMC_SPI=y
 CONFIG_MMC_DW=y

---
base-commit: fda589c286040d9ba2d72a0eaf0a13945fc48026
change-id: 20250708-02-k1-sdhci-defconfig-e099c1d25fa4

Best regards,
-- 
Yixun Lan




More information about the linux-riscv mailing list