Skip to contentSkip to conversation

mmc: sdhci_am654: Fix TI SoC dependencies

PATCH In review Peter Robinson 3 participants 7 messages Dec 20, 2023 – Jan 2, 2024 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mmc: sdhci_am654: Fix TI SoC dependencies

The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

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 58bd5fe4cd25..24ce5576b61a 100644
@@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
 	tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
+	depends on ARCH_K3 || COMPILE_TEST
 	depends on MMC_SDHCI_PLTFM && OF
 	select MMC_SDHCI_IO_ACCESSORS
 	select MMC_CQHCI
 	select REGMAP_MMIO
 	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 AM65x/AM64x/AM62x/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.43.0
#1 lore raw

PATCH 2/2 mmc: sdhci_omap: Fix TI SoC dependencies

The sdhci_omap is specific to older TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

Fixes 7d326930d352 ("mmc: sdhci-omap: Add OMAP SDHCI driver")
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -2
index 24ce5576b61a..81f2c4e05287 100644
@@ -1026,14 +1026,15 @@ config MMC_SDHCI_XENON
 
 config MMC_SDHCI_OMAP
 	tristate "TI SDHCI Controller Support"
+	depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
 	depends on MMC_SDHCI_PLTFM && OF
 	select THERMAL
 	imply TI_SOC_THERMAL
 	select MMC_SDHCI_EXTERNAL_DMA if DMA_ENGINE
 	help
 	  This selects the Secure Digital Host Controller Interface (SDHCI)
-	  support present in TI's DRA7 SOCs. The controller supports
-	  SD/MMC/SDIO devices.
+	  support present in TI's Keystone/OMAP2+/DRA7 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.43.0
#2 lore raw
In reply to Peter Robinson
Quoted 6 lines · Peter Robinson

The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

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

Is this really a fix? Seems like a minor improvement. Same question for patch 2/2.

Quoted 1 line

It would be good to get an Ack from a TI person.
Same for patch 2/2.

Quoted 26 lines
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -2
index 58bd5fe4cd25..24ce5576b61a 100644
@@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
 	tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
+	depends on ARCH_K3 || COMPILE_TEST
 	depends on MMC_SDHCI_PLTFM && OF
 	select MMC_SDHCI_IO_ACCESSORS
 	select MMC_CQHCI
 	select REGMAP_MMIO
 	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 AM65x/AM64x/AM62x/J721E SOCs. The controller
+	  supports SD/MMC/SDIO devices.
 
 	  If you have a controller with this interface, say Y or M here.
 
#3 lore raw
Quoted 11 lines · Adrian Hunter
Quoted 6 lines · Peter Robinson

The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

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

Is this really a fix? Seems like a minor improvement. Same question for patch 2/2.

It is for distro kernels at least :)

Quoted 32 lines
Quoted 1 line

It would be good to get an Ack from a TI person.
Same for patch 2/2.

Quoted 26 lines
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -2
index 58bd5fe4cd25..24ce5576b61a 100644
@@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
      tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
+     depends on ARCH_K3 || COMPILE_TEST
      depends on MMC_SDHCI_PLTFM && OF
      select MMC_SDHCI_IO_ACCESSORS
      select MMC_CQHCI
      select REGMAP_MMIO
      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 AM65x/AM64x/AM62x/J721E SOCs. The controller
+       supports SD/MMC/SDIO devices.
 
        If you have a controller with this interface, say Y or M here.
 
#4 lore raw
Quoted 8 lines · Peter Robinson
Quoted 7 lines · Adrian Hunter
Quoted 5 lines · Peter Robinson

The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Fixes 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")

Is this really a fix? Seems like a minor improvement. Same question for patch 2/2.

It is for distro kernels at least :)

Distros ship thousands of modules. I am not sure one more or less makes any difference?

Quoted 33 lines
Quoted 33 lines
Quoted 2 lines

It would be good to get an Ack from a TI person.
Same for patch 2/2.

Quoted 26 lines
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -2
index 58bd5fe4cd25..24ce5576b61a 100644
@@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
      tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
+     depends on ARCH_K3 || COMPILE_TEST
      depends on MMC_SDHCI_PLTFM && OF
      select MMC_SDHCI_IO_ACCESSORS
      select MMC_CQHCI
      select REGMAP_MMIO
      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 AM65x/AM64x/AM62x/J721E SOCs. The controller
+       supports SD/MMC/SDIO devices.
 
        If you have a controller with this interface, say Y or M here.
 
#5 lore raw
Quoted 12 lines · Adrian Hunter
Quoted 10 lines · Peter Robinson
Quoted 9 lines · Adrian Hunter
Quoted 6 lines · Peter Robinson

The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

Fixes 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Is this really a fix? Seems like a minor improvement. Same question for patch 2/2.

It is for distro kernels at least :)

Distros ship thousands of modules. I am not sure one more or less makes any difference?

I added the fixes because that's what a lot of other similar patches do, see 4920bded3e and 1f223208e in CAN drivers I was looking at recently, if you want to drop the fixes tag I don't mind but I was mostly just following what numerous other similar patches do :)

Quoted 34 lines
Quoted 33 lines
Quoted 33 lines
Quoted 2 lines

It would be good to get an Ack from a TI person.
Same for patch 2/2.

Quoted 26 lines
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -2
index 58bd5fe4cd25..24ce5576b61a 100644
@@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
      tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
+     depends on ARCH_K3 || COMPILE_TEST
      depends on MMC_SDHCI_PLTFM && OF
      select MMC_SDHCI_IO_ACCESSORS
      select MMC_CQHCI
      select REGMAP_MMIO
      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 AM65x/AM64x/AM62x/J721E SOCs. The controller
+       supports SD/MMC/SDIO devices.
 
        If you have a controller with this interface, say Y or M here.
 
#6 lore raw
In reply to Peter Robinson
Quoted 8 lines · Peter Robinson

The sdhci_am654 is specific to recent TI SoCs, update the dependencies for those SoCs and compile testing. While we're at it update the text to reflect the wider range of supported TI SoCS the driver now supports.

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

Applied for next (and patch2/2), thanks!

Kind regards
Uffe

Quoted 29 lines
---
 drivers/mmc/host/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +3 -3
index 58bd5fe4cd25..24ce5576b61a 100644
@@ -1041,14 +1041,15 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
        tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
+       depends on ARCH_K3 || COMPILE_TEST
        depends on MMC_SDHCI_PLTFM && OF
        select MMC_SDHCI_IO_ACCESSORS
        select MMC_CQHCI
        select REGMAP_MMIO
        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 AM65x/AM64x/AM62x/J721E SOCs. The controller
+         supports SD/MMC/SDIO devices.
 
          If you have a controller with this interface, say Y or M here.
 
--

2.43.0