Re: [PATCH v4 3/3] mmc: Add driver for LiteX's LiteSDCard interface
From: Joel Stanley <joel@jms.id.au>
Date: 2021-12-15 02:38:06
Also in:
linux-mmc, lkml
On Sun, 12 Dec 2021 at 16:21, Gabriel L. Somlo [off-list ref] wrote:
Hi Joel, On Fri, Dec 10, 2021 at 09:54:30AM -0500, Gabriel Somlo wrote:quoted
LiteX (https://github.com/enjoy-digital/litex) is a SoC framework that targets FPGAs. LiteSDCard is a small footprint, configurable SDCard core commonly used in LiteX designs. The driver was first written in May 2020 and has been maintained cooperatively by the LiteX community. Thanks to all contributors! Co-developed-by: Kamil Rakoczy <redacted> Signed-off-by: Kamil Rakoczy <redacted> Co-developed-by: Maciej Dudek <redacted> Signed-off-by: Maciej Dudek <redacted> Co-developed-by: Paul Mackerras <redacted> Signed-off-by: Paul Mackerras <redacted> Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
quoted
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 5af8494c31b5..c1b66d06d1c9 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig@@ -1093,3 +1093,12 @@ config MMC_OWL config MMC_SDHCI_EXTERNAL_DMA bool + +config MMC_LITEX + tristate "LiteX MMC Host Controller support"I remembered I still owe you an answer on whether this was ever successfully tested as a module: The answer is *yes* -- if configured as a loadable module, it loads OK with modprobe, works fine, and can be unloaded (with `modprobe -r`) and re-loaded indefinitely.
Very good. Thanks for following up on the suggestions I made. Reviewed-by: Joel Stanley <joel@jms.id.au> Cheers, Joel