linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] AT91 drivers Kconfig cleanup
@ 2012-03-15 15:57 Nicolas Ferre
  2012-03-15 15:57 ` [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry Nicolas Ferre
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

This is a series which deals with AT91 drivers Kconfig entries. Its goal is
to remove too restrictive dependencies on SoC names.
This will allow to add support for newer SoC seamlessly.

One question remains: should I submit those patches through dedicated
sub-maintainer's git trees or can I queue the whole series in arm-soc?

Nicolas Ferre (6):
  dmaengine: Kconfig: fix Atmel at_hdmac entry
  mmc: Kconfig: remove choice between at91_mci and atmel-mci
  mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA
  rtc: Kconfig: remove dependency for AT91 rtc driver
  Input: Kconfig: remove dependency for atmel_tsadcc driver
  hwrng: Kconfig: remove dependency for atmel-rng driver

 drivers/char/hw_random/Kconfig    |    2 +-
 drivers/dma/Kconfig               |    5 ++---
 drivers/input/touchscreen/Kconfig |    4 ++--
 drivers/mmc/host/Kconfig          |   23 ++---------------------
 drivers/mmc/host/atmel-mci.c      |    2 --
 drivers/rtc/Kconfig               |    2 +-
 6 files changed, 8 insertions(+), 30 deletions(-)

Best regards,
-- 
1.7.9


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

* [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
@ 2012-03-15 15:57 ` Nicolas Ferre
  2012-03-16  3:13   ` Vinod Koul
  2012-03-15 15:57 ` [PATCH 2/6] mmc: Kconfig: remove choice between at91_mci and atmel-mci Nicolas Ferre
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

Remove SoC dependency and make it generic for every Atmel ARM AT91. That will
allow to select this driver for newer chips. Keep dependency on AT91 because of
the use of an header file located in include/mach directory.
Modify the comment to reflect this.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/dma/Kconfig |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index f1a2749..6d50f35 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -91,11 +91,10 @@ config DW_DMAC
 
 config AT_HDMAC
 	tristate "Atmel AHB DMA support"
-	depends on ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
+	depends on ARCH_AT91
 	select DMA_ENGINE
 	help
-	  Support the Atmel AHB DMA controller.  This can be integrated in
-	  chips such as the Atmel AT91SAM9RL.
+	  Support the Atmel AHB DMA controller.
 
 config FSL_DMA
 	tristate "Freescale Elo and Elo Plus DMA support"
-- 
1.7.9


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

* [PATCH 2/6] mmc: Kconfig: remove choice between at91_mci and atmel-mci
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
  2012-03-15 15:57 ` [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry Nicolas Ferre
@ 2012-03-15 15:57 ` Nicolas Ferre
  2012-03-21  9:59   ` Ludovic Desroches
  2012-03-15 15:57 ` [PATCH 3/6] mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA Nicolas Ferre
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

This choice is not so important now that atmel-mci supports every
Atmel AT91 SoC except AT91RM9200. As this newer driver is better
maintained choose this one to avoid confusion.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/mmc/host/Kconfig |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 00fcbed..455a414 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -270,16 +270,9 @@ config MMC_AU1X
 
 	  If unsure, say N.
 
-choice
-	prompt "Atmel SD/MMC Driver"
-	depends on AVR32 || ARCH_AT91
-	default MMC_ATMELMCI if AVR32
-	help
-	  Choose which driver to use for the Atmel MCI Silicon
-
 config MMC_AT91
 	tristate "AT91 SD/MMC Card Interface support"
-	depends on ARCH_AT91
+	depends on ARCH_AT91RM9200
 	help
 	  This selects the AT91 MCI controller.
 
@@ -287,7 +280,7 @@ config MMC_AT91
 
 config MMC_ATMELMCI
 	tristate "Atmel Multimedia Card Interface support"
-	depends on AVR32 || ARCH_AT91
+	depends on AVR32 || (ARCH_AT91 && !ARCH_AT91RM9200)
 	help
 	  This selects the Atmel Multimedia Card Interface driver. If
 	  you have an AT32 (AVR32) or AT91 platform with a Multimedia
@@ -295,8 +288,6 @@ config MMC_ATMELMCI
 
 	  If unsure, say N.
 
-endchoice
-
 config MMC_ATMELMCI_DMA
 	bool "Atmel MCI DMA support"
 	depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE
-- 
1.7.9


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

* [PATCH 3/6] mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
  2012-03-15 15:57 ` [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry Nicolas Ferre
  2012-03-15 15:57 ` [PATCH 2/6] mmc: Kconfig: remove choice between at91_mci and atmel-mci Nicolas Ferre
@ 2012-03-15 15:57 ` Nicolas Ferre
  2012-03-21 10:02   ` Ludovic Desroches
  2012-03-15 15:57 ` [PATCH 4/6] rtc: Kconfig: remove dependency for AT91 rtc driver Nicolas Ferre
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

This Kconfig option is not needed anymore, so remove it.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/mmc/host/Kconfig     |   10 ----------
 drivers/mmc/host/atmel-mci.c |    2 --
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 455a414..a6fc44a 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -288,16 +288,6 @@ config MMC_ATMELMCI
 
 	  If unsure, say N.
 
-config MMC_ATMELMCI_DMA
-	bool "Atmel MCI DMA support"
-	depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE
-	help
-	  Say Y here to have the Atmel MCI driver use a DMA engine to
-	  do data transfers and thus increase the throughput and
-	  reduce the CPU utilization.
-
-	  If unsure, say N.
-
 config MMC_IMX
 	tristate "Motorola i.MX Multimedia Card Interface support"
 	depends on ARCH_MX1
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index e4449a5..b5693fd 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -2164,10 +2164,8 @@ static int __exit atmci_remove(struct platform_device *pdev)
 	atmci_readl(host, ATMCI_SR);
 	clk_disable(host->mck);
 
-#ifdef CONFIG_MMC_ATMELMCI_DMA
 	if (host->dma.chan)
 		dma_release_channel(host->dma.chan);
-#endif
 
 	free_irq(platform_get_irq(pdev, 0), host);
 	iounmap(host->regs);
-- 
1.7.9


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

* [PATCH 4/6] rtc: Kconfig: remove dependency for AT91 rtc driver
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
                   ` (2 preceding siblings ...)
  2012-03-15 15:57 ` [PATCH 3/6] mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA Nicolas Ferre
@ 2012-03-15 15:57 ` Nicolas Ferre
  2012-03-15 15:57 ` [PATCH 5/6] Input: Kconfig: remove dependency for atmel_tsadcc driver Nicolas Ferre
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

This will allow to select this driver for newer SoCs.
Keep dependency on AT91 because of the use of an header
file located in include/mach directory.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/rtc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 3a125b8..918736e 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -831,7 +831,7 @@ config RTC_DRV_AT32AP700X
 
 config RTC_DRV_AT91RM9200
 	tristate "AT91RM9200 or some AT91SAM9 RTC"
-	depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
+	depends on ARCH_AT91
 	help
 	  Driver for the internal RTC (Realtime Clock) module found on
 	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
-- 
1.7.9


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

* [PATCH 5/6] Input: Kconfig: remove dependency for atmel_tsadcc driver
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
                   ` (3 preceding siblings ...)
  2012-03-15 15:57 ` [PATCH 4/6] rtc: Kconfig: remove dependency for AT91 rtc driver Nicolas Ferre
@ 2012-03-15 15:57 ` Nicolas Ferre
  2012-03-15 15:57 ` [PATCH 6/6] hwrng: Kconfig: remove dependency for atmel-rng driver Nicolas Ferre
  2012-03-15 16:50 ` [PATCH 0/6] AT91 drivers Kconfig cleanup Dmitry Torokhov
  6 siblings, 0 replies; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

This will allow to select this driver for newer SoCs.
Keep dependency on AT91 because of the use of an header
file located in include/mach directory.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/input/touchscreen/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 4af2a18..3900c64 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -432,10 +432,10 @@ config TOUCHSCREEN_TOUCHWIN
 
 config TOUCHSCREEN_ATMEL_TSADCC
 	tristate "Atmel Touchscreen Interface"
-	depends on ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
+	depends on ARCH_AT91
 	help
 	  Say Y here if you have a 4-wire touchscreen connected to the
-          ADC Controller on your Atmel SoC (such as the AT91SAM9RL).
+          ADC Controller on your Atmel SoC.
 
 	  If unsure, say N.
 
-- 
1.7.9


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

* [PATCH 6/6] hwrng: Kconfig: remove dependency for atmel-rng driver
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
                   ` (4 preceding siblings ...)
  2012-03-15 15:57 ` [PATCH 5/6] Input: Kconfig: remove dependency for atmel_tsadcc driver Nicolas Ferre
@ 2012-03-15 15:57 ` Nicolas Ferre
  2012-03-15 23:54   ` Herbert Xu
  2012-03-15 16:50 ` [PATCH 0/6] AT91 drivers Kconfig cleanup Dmitry Torokhov
  6 siblings, 1 reply; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-15 15:57 UTC (permalink / raw)
  To: linux-arm-kernel, plagnioj
  Cc: linux-kernel, ludovic.desroches, dmitry.torokhov, mpm, herbert,
	vinod.koul, a.zummo, Nicolas Ferre

This will allow to select this driver for newer SoCs. Make sure to
keep dependency on HAVE_CLK to avoid breaking other machines.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 drivers/char/hw_random/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 0689bf6..b2402eb 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -62,7 +62,7 @@ config HW_RANDOM_AMD
 
 config HW_RANDOM_ATMEL
 	tristate "Atmel Random Number Generator support"
-	depends on HW_RANDOM && ARCH_AT91SAM9G45
+	depends on HW_RANDOM && HAVE_CLK
 	default HW_RANDOM
 	---help---
 	  This driver provides kernel-side support for the Random Number
-- 
1.7.9


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

* Re: [PATCH 0/6] AT91 drivers Kconfig cleanup
  2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
                   ` (5 preceding siblings ...)
  2012-03-15 15:57 ` [PATCH 6/6] hwrng: Kconfig: remove dependency for atmel-rng driver Nicolas Ferre
@ 2012-03-15 16:50 ` Dmitry Torokhov
  2012-03-21 10:45   ` Nicolas Ferre
  6 siblings, 1 reply; 14+ messages in thread
From: Dmitry Torokhov @ 2012-03-15 16:50 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches, mpm,
	herbert, vinod.koul, a.zummo

On Thursday, March 15, 2012 04:57:16 PM Nicolas Ferre wrote:
> This is a series which deals with AT91 drivers Kconfig entries. Its goal is
> to remove too restrictive dependencies on SoC names.
> This will allow to add support for newer SoC seamlessly.
> 
> One question remains: should I submit those patches through dedicated
> sub-maintainer's git trees or can I queue the whole series in arm-soc?

I'm fine if you queue input piece through arm-soc.

Thanks.

-- 
Dmitry

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

* Re: [PATCH 6/6] hwrng: Kconfig: remove dependency for atmel-rng driver
  2012-03-15 15:57 ` [PATCH 6/6] hwrng: Kconfig: remove dependency for atmel-rng driver Nicolas Ferre
@ 2012-03-15 23:54   ` Herbert Xu
  0 siblings, 0 replies; 14+ messages in thread
From: Herbert Xu @ 2012-03-15 23:54 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches,
	dmitry.torokhov, mpm, vinod.koul, a.zummo

On Thu, Mar 15, 2012 at 04:57:22PM +0100, Nicolas Ferre wrote:
> This will allow to select this driver for newer SoCs. Make sure to
> keep dependency on HAVE_CLK to avoid breaking other machines.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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

* Re: [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry
  2012-03-15 15:57 ` [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry Nicolas Ferre
@ 2012-03-16  3:13   ` Vinod Koul
  0 siblings, 0 replies; 14+ messages in thread
From: Vinod Koul @ 2012-03-16  3:13 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches,
	dmitry.torokhov, mpm, herbert, a.zummo

On Thu, 2012-03-15 at 16:57 +0100, Nicolas Ferre wrote:
> Remove SoC dependency and make it generic for every Atmel ARM AT91. That will
> allow to select this driver for newer chips. Keep dependency on AT91 because of
> the use of an header file located in include/mach directory.
> Modify the comment to reflect this.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
> ---
>  drivers/dma/Kconfig |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index f1a2749..6d50f35 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -91,11 +91,10 @@ config DW_DMAC
>  
>  config AT_HDMAC
>  	tristate "Atmel AHB DMA support"
> -	depends on ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
> +	depends on ARCH_AT91
>  	select DMA_ENGINE
>  	help
> -	  Support the Atmel AHB DMA controller.  This can be integrated in
> -	  chips such as the Atmel AT91SAM9RL.
> +	  Support the Atmel AHB DMA controller.
>  
>  config FSL_DMA
>  	tristate "Freescale Elo and Elo Plus DMA support"


-- 
~Vinod


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

* Re: [PATCH 2/6] mmc: Kconfig: remove choice between at91_mci and atmel-mci
  2012-03-15 15:57 ` [PATCH 2/6] mmc: Kconfig: remove choice between at91_mci and atmel-mci Nicolas Ferre
@ 2012-03-21  9:59   ` Ludovic Desroches
  0 siblings, 0 replies; 14+ messages in thread
From: Ludovic Desroches @ 2012-03-21  9:59 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches,
	dmitry.torokhov, mpm, herbert, vinod.koul, a.zummo

On Thu, Mar 15, 2012 at 04:57:18PM +0100, Nicolas Ferre wrote:
> This choice is not so important now that atmel-mci supports every
> Atmel AT91 SoC except AT91RM9200. As this newer driver is better
> maintained choose this one to avoid confusion.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Thanks for this patch, it's a new step to have only one mci driver.

Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>

Regards

Ludovic

> ---
>  drivers/mmc/host/Kconfig |   13 ++-----------
>  1 files changed, 2 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 00fcbed..455a414 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -270,16 +270,9 @@ config MMC_AU1X
>  
>  	  If unsure, say N.
>  
> -choice
> -	prompt "Atmel SD/MMC Driver"
> -	depends on AVR32 || ARCH_AT91
> -	default MMC_ATMELMCI if AVR32
> -	help
> -	  Choose which driver to use for the Atmel MCI Silicon
> -
>  config MMC_AT91
>  	tristate "AT91 SD/MMC Card Interface support"
> -	depends on ARCH_AT91
> +	depends on ARCH_AT91RM9200
>  	help
>  	  This selects the AT91 MCI controller.
>  
> @@ -287,7 +280,7 @@ config MMC_AT91
>  
>  config MMC_ATMELMCI
>  	tristate "Atmel Multimedia Card Interface support"
> -	depends on AVR32 || ARCH_AT91
> +	depends on AVR32 || (ARCH_AT91 && !ARCH_AT91RM9200)
>  	help
>  	  This selects the Atmel Multimedia Card Interface driver. If
>  	  you have an AT32 (AVR32) or AT91 platform with a Multimedia
> @@ -295,8 +288,6 @@ config MMC_ATMELMCI
>  
>  	  If unsure, say N.
>  
> -endchoice
> -
>  config MMC_ATMELMCI_DMA
>  	bool "Atmel MCI DMA support"
>  	depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE
> -- 
> 1.7.9
> 

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

* Re: [PATCH 3/6] mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA
  2012-03-15 15:57 ` [PATCH 3/6] mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA Nicolas Ferre
@ 2012-03-21 10:02   ` Ludovic Desroches
  0 siblings, 0 replies; 14+ messages in thread
From: Ludovic Desroches @ 2012-03-21 10:02 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches,
	dmitry.torokhov, mpm, herbert, vinod.koul, a.zummo

On Thu, Mar 15, 2012 at 04:57:19PM +0100, Nicolas Ferre wrote:
> This Kconfig option is not needed anymore, so remove it.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Thanks

Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>

Regards

Ludovic

> ---
>  drivers/mmc/host/Kconfig     |   10 ----------
>  drivers/mmc/host/atmel-mci.c |    2 --
>  2 files changed, 0 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 455a414..a6fc44a 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -288,16 +288,6 @@ config MMC_ATMELMCI
>  
>  	  If unsure, say N.
>  
> -config MMC_ATMELMCI_DMA
> -	bool "Atmel MCI DMA support"
> -	depends on MMC_ATMELMCI && (AVR32 || ARCH_AT91SAM9G45) && DMA_ENGINE
> -	help
> -	  Say Y here to have the Atmel MCI driver use a DMA engine to
> -	  do data transfers and thus increase the throughput and
> -	  reduce the CPU utilization.
> -
> -	  If unsure, say N.
> -
>  config MMC_IMX
>  	tristate "Motorola i.MX Multimedia Card Interface support"
>  	depends on ARCH_MX1
> diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
> index e4449a5..b5693fd 100644
> --- a/drivers/mmc/host/atmel-mci.c
> +++ b/drivers/mmc/host/atmel-mci.c
> @@ -2164,10 +2164,8 @@ static int __exit atmci_remove(struct platform_device *pdev)
>  	atmci_readl(host, ATMCI_SR);
>  	clk_disable(host->mck);
>  
> -#ifdef CONFIG_MMC_ATMELMCI_DMA
>  	if (host->dma.chan)
>  		dma_release_channel(host->dma.chan);
> -#endif
>  
>  	free_irq(platform_get_irq(pdev, 0), host);
>  	iounmap(host->regs);
> -- 
> 1.7.9
> 

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

* Re: [PATCH 0/6] AT91 drivers Kconfig cleanup
  2012-03-15 16:50 ` [PATCH 0/6] AT91 drivers Kconfig cleanup Dmitry Torokhov
@ 2012-03-21 10:45   ` Nicolas Ferre
  2012-03-21 16:32     ` Dmitry Torokhov
  0 siblings, 1 reply; 14+ messages in thread
From: Nicolas Ferre @ 2012-03-21 10:45 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches, mpm,
	herbert, vinod.koul, a.zummo

On 03/15/2012 05:50 PM, Dmitry Torokhov :
> On Thursday, March 15, 2012 04:57:16 PM Nicolas Ferre wrote:
>> This is a series which deals with AT91 drivers Kconfig entries. Its goal is
>> to remove too restrictive dependencies on SoC names.
>> This will allow to add support for newer SoC seamlessly.
>>
>> One question remains: should I submit those patches through dedicated
>> sub-maintainer's git trees or can I queue the whole series in arm-soc?
> 
> I'm fine if you queue input piece through arm-soc.

Ok, good: I have "Acknowledgement" by several maintainers: so yes, I
will send this series via arm-soc.

Is this means that I can add your "Acked-by"?

Best regards,
-- 
Nicolas Ferre

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

* Re: [PATCH 0/6] AT91 drivers Kconfig cleanup
  2012-03-21 10:45   ` Nicolas Ferre
@ 2012-03-21 16:32     ` Dmitry Torokhov
  0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Torokhov @ 2012-03-21 16:32 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: linux-arm-kernel, plagnioj, linux-kernel, ludovic.desroches, mpm,
	herbert, vinod.koul, a.zummo

On Wednesday, March 21, 2012 11:45:45 AM Nicolas Ferre wrote:
> On 03/15/2012 05:50 PM, Dmitry Torokhov :
> > On Thursday, March 15, 2012 04:57:16 PM Nicolas Ferre wrote:
> >> This is a series which deals with AT91 drivers Kconfig entries. Its goal
> >> is
> >> to remove too restrictive dependencies on SoC names.
> >> This will allow to add support for newer SoC seamlessly.
> >> 
> >> One question remains: should I submit those patches through dedicated
> >> sub-maintainer's git trees or can I queue the whole series in arm-soc?
> > 
> > I'm fine if you queue input piece through arm-soc.
> 
> Ok, good: I have "Acknowledgement" by several maintainers: so yes, I
> will send this series via arm-soc.
> 
> Is this means that I can add your "Acked-by"?

Yes, please.

Acked-by: Dmitry Torokhov <dtor@mail.ru>

Thanks.

-- 
Dmitry

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

end of thread, other threads:[~2012-03-21 16:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-15 15:57 [PATCH 0/6] AT91 drivers Kconfig cleanup Nicolas Ferre
2012-03-15 15:57 ` [PATCH 1/6] dmaengine: Kconfig: fix Atmel at_hdmac entry Nicolas Ferre
2012-03-16  3:13   ` Vinod Koul
2012-03-15 15:57 ` [PATCH 2/6] mmc: Kconfig: remove choice between at91_mci and atmel-mci Nicolas Ferre
2012-03-21  9:59   ` Ludovic Desroches
2012-03-15 15:57 ` [PATCH 3/6] mmc: atmel-mci: remove the need for CONFIG_MMC_ATMELMCI_DMA Nicolas Ferre
2012-03-21 10:02   ` Ludovic Desroches
2012-03-15 15:57 ` [PATCH 4/6] rtc: Kconfig: remove dependency for AT91 rtc driver Nicolas Ferre
2012-03-15 15:57 ` [PATCH 5/6] Input: Kconfig: remove dependency for atmel_tsadcc driver Nicolas Ferre
2012-03-15 15:57 ` [PATCH 6/6] hwrng: Kconfig: remove dependency for atmel-rng driver Nicolas Ferre
2012-03-15 23:54   ` Herbert Xu
2012-03-15 16:50 ` [PATCH 0/6] AT91 drivers Kconfig cleanup Dmitry Torokhov
2012-03-21 10:45   ` Nicolas Ferre
2012-03-21 16:32     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).