All of lore.kernel.org
 help / color / mirror / Atom feed
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>,
	Sughosh Ganu <sughosh.ganu@linaro.org>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Jonas Karlman <jonas@kwiboo.se>,
	Nathan Barrett-Morrison <nathan.morrison@timesys.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Greg Malysa <greg.malysa@timesys.com>,
	Kongyang Liu <seashell11234455@gmail.com>,
	Simon Glass <sjg@chromium.org>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Kuan Lim Lee <kuanlim.lee@starfivetech.com>,
	Ferass El Hafidi <vitali64pmemail@protonmail.com>,
	Kever Yang <kever.yang@rock-chips.com>,
	u-boot@lists.denx.de
Subject: [PATCH v1 3/3] configs: th1520_lpi4a: enable mmc controller support
Date: Sun,  1 Dec 2024 18:06:56 +0300	[thread overview]
Message-ID: <20241201150704.44462-4-bigunclemax@gmail.com> (raw)
In-Reply-To: <20241201150704.44462-1-bigunclemax@gmail.com>

From: Maksim Kiselev <bigunclemax@gmail.com>

Enable driver for DesignWare MSHC. TH1520 supports all
speed modes up to HS400ES and UHS SDR105.

Also enable ADMA and mmc command.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
---
 configs/th1520_lpi4a_defconfig | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/configs/th1520_lpi4a_defconfig b/configs/th1520_lpi4a_defconfig
index 3b6ff62ee1..d13c97463a 100644
--- a/configs/th1520_lpi4a_defconfig
+++ b/configs/th1520_lpi4a_defconfig
@@ -54,6 +54,8 @@ CONFIG_CMD_BOOTMENU=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
+CONFIG_CMD_MMC=y
+CONFIG_MMC_SPEED_MODE_SET=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
@@ -66,7 +68,14 @@ CONFIG_NO_NET=y
 CONFIG_DWAPB_GPIO=y
 # CONFIG_I2C is not set
 # CONFIG_INPUT is not set
-# CONFIG_DM_MMC is not set
+CONFIG_MMC=y
+CONFIG_MMC_IO_VOLTAGE=y
+CONFIG_MMC_UHS_SUPPORT=y
+CONFIG_MMC_HS400_ES_SUPPORT=y
+CONFIG_MMC_HS400_SUPPORT=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_ADMA=y
+CONFIG_MMC_SDHCI_SNPS=y
 # CONFIG_MTD is not set
 # CONFIG_POWER is not set
 CONFIG_SYS_NS16550=y
-- 
2.45.2


  parent reply	other threads:[~2024-12-01 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-01 15:06 [PATCH v1 0/3] Add sdhci driver support for TH1520 SoC bigunclemax
2024-12-01 15:06 ` [PATCH v1 1/3] mmc: snps_sdhci: " 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 ` bigunclemax [this message]
2024-12-04  0:26   ` [PATCH v1 3/3] configs: th1520_lpi4a: enable mmc controller support 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-4-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=kever.yang@rock-chips.com \
    --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=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=vitali64pmemail@protonmail.com \
    --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 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.