U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@kernel.org>
To: u-boot@lists.denx.de
Cc: Chen-Yu Tsai <wens@csie.org>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Kever Yang <kever.yang@rock-chips.com>,
	Maksim Kiselev <bigunclemax@gmail.com>,
	Nathan Barrett-Morrison <nathan.morrison@timesys.com>,
	Peng Fan <peng.fan@nxp.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Quentin Schulz <quentin.schulz@cherry.de>,
	Raymond Mao <raymond.mao@linaro.org>,
	Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>
Subject: [PATCH 2/2] mmc: rockchip_sdhci: Enable by default for all supported SoCs
Date: Wed, 30 Apr 2025 01:41:25 +0800	[thread overview]
Message-ID: <20250429174125.2194499-2-wens@kernel.org> (raw)
In-Reply-To: <20250429174125.2194499-1-wens@kernel.org>

From: Chen-Yu Tsai <wens@csie.org>

The rockchip_sdhci driver supports the alternative MMC controller found
in newer Rockchip SoCs. This controller is used for eMMC. Almost all
defconfigs for Rockchip platforms with this controller have it enabled.

Enable it by default for all supported Rockchip SoCs. Disable it
explicitly in defconfigs that previously didn't have it enabled,
which is only the Orangepi 5.

Series-Version: 2
Series-Changes: 2
- Drop trivial defconfig syncs

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---

 configs/orangepi-5-rk3588s_defconfig | 1 +
 drivers/mmc/Kconfig                  | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/configs/orangepi-5-rk3588s_defconfig b/configs/orangepi-5-rk3588s_defconfig
index 6e2ff7d338a8..098c0738d7c3 100644
--- a/configs/orangepi-5-rk3588s_defconfig
+++ b/configs/orangepi-5-rk3588s_defconfig
@@ -56,6 +56,7 @@ CONFIG_MISC=y
 CONFIG_SUPPORT_EMMC_RPMB=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
+# CONFIG_MMC_SDHCI is not set
 CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 CONFIG_SPI_FLASH_XMC=y
 CONFIG_PHY_MOTORCOMM=y
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index ec9e9d51fbf9..d4d49494fee7 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -482,6 +482,11 @@ config MMC_SANDBOX
 
 config MMC_SDHCI
 	bool "Secure Digital Host Controller Interface support"
+	default y if ROCKCHIP_RK3399
+	default y if ROCKCHIP_RK3528
+	default y if ROCKCHIP_RK3568
+	default y if ROCKCHIP_RK3576
+	default y if ROCKCHIP_RK3588
 	help
 	  This selects the generic Secure Digital Host Controller Interface.
 	  It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
@@ -714,6 +719,7 @@ config MMC_SDHCI_ROCKCHIP
 	bool "Arasan SDHCI controller for Rockchip support"
 	depends on ARCH_ROCKCHIP
 	depends on MMC_SDHCI
+	default y
 	help
 	  Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
 
-- 
2.39.5


  reply	other threads:[~2025-04-29 17:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29 17:41 [PATCH 1/2] mmc: rockchip_dw_mmc: Enable by default for all supported SoCs Chen-Yu Tsai
2025-04-29 17:41 ` Chen-Yu Tsai [this message]
2025-04-29 17:42 ` Chen-Yu Tsai
  -- strict thread matches above, loose matches on Subject: below --
2025-04-29 15:44 Chen-Yu Tsai
2025-04-29 15:44 ` [PATCH 2/2] mmc: rockchip_sdhci: " Chen-Yu Tsai
2025-04-29 16:42   ` Quentin Schulz

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=20250429174125.2194499-2-wens@kernel.org \
    --to=wens@kernel.org \
    --cc=bigunclemax@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=nathan.morrison@timesys.com \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=quentin.schulz@cherry.de \
    --cc=raymond.mao@linaro.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wens@csie.org \
    /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