mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA
@ 2014-08-14 16:45 Andrew Bresticker
  2014-08-14 16:45 ` [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS Andrew Bresticker
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrew Bresticker @ 2014-08-14 16:45 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson
  Cc: Seungwon Jeon, Jaehoon Chung, Doug Anderson, linux-mmc,
	linux-kernel, Alim Akhtar, Arnd Bergmann, Andrew Bresticker

The dw_mmc drivers rely on the DMA API, so update the Kconfig entry
to depend on HAS_DMA.  Since the drivers should build on any platform
with DMA, allow the driver to compile tested on non-ARC/ARM platforms.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
---
 drivers/mmc/host/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index a565254..385674b 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -563,7 +563,8 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
 
 config MMC_DW
 	tristate "Synopsys DesignWare Memory Card Interface"
-	depends on ARC || ARM
+	depends on HAS_DMA
+	depends on ARC || ARM || COMPILE_TEST
 	help
 	  This selects support for the Synopsys DesignWare Mobile Storage IP
 	  block, this provides host support for SD and MMC interfaces, in both
-- 
2.1.0.rc2.206.gedb03e5


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS
  2014-08-14 16:45 [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Andrew Bresticker
@ 2014-08-14 16:45 ` Andrew Bresticker
  2014-08-15 13:32   ` Alim Akhtar
  2014-08-18 11:41   ` Ulf Hansson
  2014-08-15 13:30 ` [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Alim Akhtar
  2014-08-18 11:41 ` Ulf Hansson
  2 siblings, 2 replies; 6+ messages in thread
From: Andrew Bresticker @ 2014-08-14 16:45 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson
  Cc: Seungwon Jeon, Jaehoon Chung, Doug Anderson, linux-mmc,
	linux-kernel, Alim Akhtar, Arnd Bergmann, Andrew Bresticker

There are upcoming MIPS SoCs with dw_mmc hosts.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 385674b..6acc2ab 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -564,7 +564,7 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
 config MMC_DW
 	tristate "Synopsys DesignWare Memory Card Interface"
 	depends on HAS_DMA
-	depends on ARC || ARM || COMPILE_TEST
+	depends on ARC || ARM || MIPS || COMPILE_TEST
 	help
 	  This selects support for the Synopsys DesignWare Mobile Storage IP
 	  block, this provides host support for SD and MMC interfaces, in both
-- 
2.1.0.rc2.206.gedb03e5


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA
  2014-08-14 16:45 [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Andrew Bresticker
  2014-08-14 16:45 ` [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS Andrew Bresticker
@ 2014-08-15 13:30 ` Alim Akhtar
  2014-08-18 11:41 ` Ulf Hansson
  2 siblings, 0 replies; 6+ messages in thread
From: Alim Akhtar @ 2014-08-15 13:30 UTC (permalink / raw)
  To: Andrew Bresticker
  Cc: Chris Ball, Ulf Hansson, Seungwon Jeon, Jaehoon Chung,
	Doug Anderson, linux-mmc, linux-kernel, Arnd Bergmann

Hi Andrew,

On Thu, Aug 14, 2014 at 10:15 PM, Andrew Bresticker
<abrestic@chromium.org> wrote:
> The dw_mmc drivers rely on the DMA API, so update the Kconfig entry
> to depend on HAS_DMA.  Since the drivers should build on any platform
> with DMA, allow the driver to compile tested on non-ARC/ARM platforms.
>
> Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
> ---
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

>  drivers/mmc/host/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index a565254..385674b 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -563,7 +563,8 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
>
>  config MMC_DW
>         tristate "Synopsys DesignWare Memory Card Interface"
> -       depends on ARC || ARM
> +       depends on HAS_DMA
> +       depends on ARC || ARM || COMPILE_TEST
>         help
>           This selects support for the Synopsys DesignWare Mobile Storage IP
>           block, this provides host support for SD and MMC interfaces, in both
> --
> 2.1.0.rc2.206.gedb03e5
>



-- 
Regards,
Alim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS
  2014-08-14 16:45 ` [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS Andrew Bresticker
@ 2014-08-15 13:32   ` Alim Akhtar
  2014-08-18 11:41   ` Ulf Hansson
  1 sibling, 0 replies; 6+ messages in thread
From: Alim Akhtar @ 2014-08-15 13:32 UTC (permalink / raw)
  To: Andrew Bresticker
  Cc: Chris Ball, Ulf Hansson, Seungwon Jeon, Jaehoon Chung,
	Doug Anderson, linux-mmc, linux-kernel, Arnd Bergmann

Hi Andrew,

On Thu, Aug 14, 2014 at 10:15 PM, Andrew Bresticker
<abrestic@chromium.org> wrote:
> There are upcoming MIPS SoCs with dw_mmc hosts.
>
> Signed-off-by: Andrew Bresticker <abrestic@chromium.org>

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 385674b..6acc2ab 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -564,7 +564,7 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
>  config MMC_DW
>         tristate "Synopsys DesignWare Memory Card Interface"
>         depends on HAS_DMA
> -       depends on ARC || ARM || COMPILE_TEST
> +       depends on ARC || ARM || MIPS || COMPILE_TEST
>         help
>           This selects support for the Synopsys DesignWare Mobile Storage IP
>           block, this provides host support for SD and MMC interfaces, in both
> --
> 2.1.0.rc2.206.gedb03e5
>



-- 
Regards,
Alim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA
  2014-08-14 16:45 [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Andrew Bresticker
  2014-08-14 16:45 ` [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS Andrew Bresticker
  2014-08-15 13:30 ` [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Alim Akhtar
@ 2014-08-18 11:41 ` Ulf Hansson
  2 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2014-08-18 11:41 UTC (permalink / raw)
  To: Andrew Bresticker
  Cc: Chris Ball, Seungwon Jeon, Jaehoon Chung, Doug Anderson,
	linux-mmc, linux-kernel, Alim Akhtar, Arnd Bergmann

On 14 August 2014 18:45, Andrew Bresticker <abrestic@chromium.org> wrote:
> The dw_mmc drivers rely on the DMA API, so update the Kconfig entry
> to depend on HAS_DMA.  Since the drivers should build on any platform
> with DMA, allow the driver to compile tested on non-ARC/ARM platforms.
>
> Signed-off-by: Andrew Bresticker <abrestic@chromium.org>

Thanks! Applied for next.

Kind regards
Uffe


> ---
>  drivers/mmc/host/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index a565254..385674b 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -563,7 +563,8 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
>
>  config MMC_DW
>         tristate "Synopsys DesignWare Memory Card Interface"
> -       depends on ARC || ARM
> +       depends on HAS_DMA
> +       depends on ARC || ARM || COMPILE_TEST
>         help
>           This selects support for the Synopsys DesignWare Mobile Storage IP
>           block, this provides host support for SD and MMC interfaces, in both
> --
> 2.1.0.rc2.206.gedb03e5
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS
  2014-08-14 16:45 ` [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS Andrew Bresticker
  2014-08-15 13:32   ` Alim Akhtar
@ 2014-08-18 11:41   ` Ulf Hansson
  1 sibling, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2014-08-18 11:41 UTC (permalink / raw)
  To: Andrew Bresticker
  Cc: Chris Ball, Seungwon Jeon, Jaehoon Chung, Doug Anderson,
	linux-mmc, linux-kernel, Alim Akhtar, Arnd Bergmann

On 14 August 2014 18:45, Andrew Bresticker <abrestic@chromium.org> wrote:
> There are upcoming MIPS SoCs with dw_mmc hosts.
>
> Signed-off-by: Andrew Bresticker <abrestic@chromium.org>

Thanks! Applied for next.

Kind regards
Uffe


> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 385674b..6acc2ab 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -564,7 +564,7 @@ config SDH_BFIN_MISSING_CMD_PULLUP_WORKAROUND
>  config MMC_DW
>         tristate "Synopsys DesignWare Memory Card Interface"
>         depends on HAS_DMA
> -       depends on ARC || ARM || COMPILE_TEST
> +       depends on ARC || ARM || MIPS || COMPILE_TEST
>         help
>           This selects support for the Synopsys DesignWare Mobile Storage IP
>           block, this provides host support for SD and MMC interfaces, in both
> --
> 2.1.0.rc2.206.gedb03e5
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-18 11:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-14 16:45 [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Andrew Bresticker
2014-08-14 16:45 ` [PATCH v2 2/2] mmc: dw_mmc: Add support for MIPS Andrew Bresticker
2014-08-15 13:32   ` Alim Akhtar
2014-08-18 11:41   ` Ulf Hansson
2014-08-15 13:30 ` [PATCH v2 1/2] mmc: dw_mmc: Add dependency on DMA Alim Akhtar
2014-08-18 11:41 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®