diff mbox series

[RFC,v3.1,08/27] mmc: sdhci: add a kernel configuration for enabling UHS-II support

Message ID 20201106022726.19831-9-takahiro.akashi@linaro.org
State New
Headers show
Series Add support UHS-II for GL9755 | expand

Commit Message

AKASHI Takahiro Nov. 6, 2020, 2:27 a.m. UTC
This kernel configuration, CONFIG_MMC_SDHCI_UHS2, will be used
in the following commits to indicate UHS-II specific code in sdhci
controllers.

Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw>

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

---
 drivers/mmc/host/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
2.28.0

Comments

Adrian Hunter Nov. 26, 2020, 8:14 a.m. UTC | #1
On 6/11/20 4:27 am, AKASHI Takahiro wrote:
> This kernel configuration, CONFIG_MMC_SDHCI_UHS2, will be used

> in the following commits to indicate UHS-II specific code in sdhci

> controllers.


This patch needs to be combined with a patch that actually uses the config.

> 

> Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw>

> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

> ---

>  drivers/mmc/host/Kconfig | 9 +++++++++

>  1 file changed, 9 insertions(+)

> 

> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig

> index 31481c9fcc2e..5ca9ac03db40 100644

> --- a/drivers/mmc/host/Kconfig

> +++ b/drivers/mmc/host/Kconfig

> @@ -89,6 +89,15 @@ config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER

>  

>  	  This is the case for the Nintendo Wii SDHCI.

>  

> +config MMC_SDHCI_UHS2

> +	tristate "UHS2 support on SDHCI controller"

> +	depends on MMC_SDHCI

> +	help

> +	  This option is selected by SDHCI controller drivers that want to

> +	  support UHS2-capable devices.

> +

> +	  If you have a controller with this feature, say Y or M here.

> +

>  config MMC_SDHCI_PCI

>  	tristate "SDHCI support on PCI bus"

>  	depends on MMC_SDHCI && PCI

>
AKASHI Takahiro Nov. 30, 2020, 5:17 a.m. UTC | #2
On Thu, Nov 26, 2020 at 10:14:36AM +0200, Adrian Hunter wrote:
> On 6/11/20 4:27 am, AKASHI Takahiro wrote:

> > This kernel configuration, CONFIG_MMC_SDHCI_UHS2, will be used

> > in the following commits to indicate UHS-II specific code in sdhci

> > controllers.

> 

> This patch needs to be combined with a patch that actually uses the config.


Earlier is better. So the patch #10/27 would be the best.

-Takahiro Akashi

> > 

> > Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw>

> > Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

> > ---

> >  drivers/mmc/host/Kconfig | 9 +++++++++

> >  1 file changed, 9 insertions(+)

> > 

> > diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig

> > index 31481c9fcc2e..5ca9ac03db40 100644

> > --- a/drivers/mmc/host/Kconfig

> > +++ b/drivers/mmc/host/Kconfig

> > @@ -89,6 +89,15 @@ config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER

> >  

> >  	  This is the case for the Nintendo Wii SDHCI.

> >  

> > +config MMC_SDHCI_UHS2

> > +	tristate "UHS2 support on SDHCI controller"

> > +	depends on MMC_SDHCI

> > +	help

> > +	  This option is selected by SDHCI controller drivers that want to

> > +	  support UHS2-capable devices.

> > +

> > +	  If you have a controller with this feature, say Y or M here.

> > +

> >  config MMC_SDHCI_PCI

> >  	tristate "SDHCI support on PCI bus"

> >  	depends on MMC_SDHCI && PCI

> > 

>
diff mbox series

Patch

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 31481c9fcc2e..5ca9ac03db40 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -89,6 +89,15 @@  config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
 
 	  This is the case for the Nintendo Wii SDHCI.
 
+config MMC_SDHCI_UHS2
+	tristate "UHS2 support on SDHCI controller"
+	depends on MMC_SDHCI
+	help
+	  This option is selected by SDHCI controller drivers that want to
+	  support UHS2-capable devices.
+
+	  If you have a controller with this feature, say Y or M here.
+
 config MMC_SDHCI_PCI
 	tristate "SDHCI support on PCI bus"
 	depends on MMC_SDHCI && PCI