Skip to contentSkip to conversation

mmc: sdhci_am654: MMC_SDHCI_AM654 should depend on ARCH_K3

PATCH In review Peter Robinson 2 participants 2 messages Jun 28, 2022 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: sdhci_am654: MMC_SDHCI_AM654 should depend on ARCH_K3

The Texas Instruments sdhci_am654 SDHCI controller is only present on TI K3 SoCs so add a dependency to reflect that, plus COMPILE_TEST. Also update the help text to reflect the new SoC support added since the driver was first added.

Fixes 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -2
index d6144978e32d..6b5c4d812988 100644
@@ -1073,12 +1073,13 @@ config MMC_SDHCI_OMAP
 config MMC_SDHCI_AM654
 	tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
 	depends on MMC_SDHCI_PLTFM && OF && REGMAP_MMIO
+	depends on ARCH_K3 || COMPILE_TEST
 	select MMC_SDHCI_IO_ACCESSORS
 	select MMC_CQHCI
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
-	  support present in TI's AM654 SOCs. The controller supports
-	  SD/MMC/SDIO devices.
+	  support present in TI's AM62/AM64x/AM654/J721E SOCs. The
+	  controller supports SD/MMC/SDIO devices.
 
 	  If you have a controller with this interface, say Y or M here.
 
Signature · 1 line
2.36.1
#1 lore raw
Quoted 6 lines · Peter Robinson

The Texas Instruments sdhci_am654 SDHCI controller is only present on TI K3 SoCs so add a dependency to reflect that, plus COMPILE_TEST. Also update the help text to reflect the new SoC support added since the driver was first added.

Fixes 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")

I don't see a bug to fix, so the tag does not look appropriate. Otherwise describe how is the bug visible/reproducible etc.

Best regards,
Krzysztof