diff mbox series

mmc: sdhci_am654: MMC_SDHCI_AM654 should depend on ARCH_K3

Message ID 20220628093205.103182-1-pbrobinson@gmail.com (mailing list archive)
State New, archived
Headers show
Series mmc: sdhci_am654: MMC_SDHCI_AM654 should depend on ARCH_K3 | expand

Commit Message

Peter Robinson June 28, 2022, 9:32 a.m. UTC
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")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Krzysztof Kozlowski June 28, 2022, 9:43 a.m. UTC | #1
On 28/06/2022 11:32, Peter Robinson wrote:
> 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
diff mbox series

Patch

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index d6144978e32d..6b5c4d812988 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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.