public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [RFC 1/3] mips: pnx833x: remove requirement for GENERIC_GPIO
       [not found] <1363527723-32713-1-git-send-email-acourbot@nvidia.com>
@ 2013-03-17 13:42 ` Alexandre Courbot
  2013-03-17 13:42 ` [RFC 2/3] m68k: coldfire: use gpiolib Alexandre Courbot
  2013-03-17 13:42 ` [RFC 3/3] blackfin: force use of gpiolib Alexandre Courbot
  2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Courbot @ 2013-03-17 13:42 UTC (permalink / raw)
  To: Mike Frysinger, Geert Uytterhoeven, Ralf Baechle
  Cc: uclinux-dist-devel, linux-kernel, linux-m68k, linux-mips, gnurou,
	Alexandre Courbot

pnx833x does not seem to use the generic gpio API.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/mips/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 50cded3..ff0e563 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1107,7 +1107,6 @@ config SOC_PNX833X
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select SYS_SUPPORTS_BIG_ENDIAN
-	select GENERIC_GPIO
 	select CPU_MIPSR2_IRQ_VI
 
 config SOC_PNX8335
-- 
1.8.2

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

* [RFC 2/3] m68k: coldfire: use gpiolib
       [not found] <1363527723-32713-1-git-send-email-acourbot@nvidia.com>
  2013-03-17 13:42 ` [RFC 1/3] mips: pnx833x: remove requirement for GENERIC_GPIO Alexandre Courbot
@ 2013-03-17 13:42 ` Alexandre Courbot
  2013-03-21  5:35   ` Greg Ungerer
  2013-03-17 13:42 ` [RFC 3/3] blackfin: force use of gpiolib Alexandre Courbot
  2 siblings, 1 reply; 4+ messages in thread
From: Alexandre Courbot @ 2013-03-17 13:42 UTC (permalink / raw)
  To: Mike Frysinger, Geert Uytterhoeven, Ralf Baechle
  Cc: uclinux-dist-devel, linux-kernel, linux-m68k, linux-mips, gnurou,
	Alexandre Courbot

Force use of gpiolib for Coldfire, as a step towards the deprecation of
GENERIC_GPIO.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/m68k/Kconfig.cpu | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index b1cfff8..d266787 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -22,8 +22,7 @@ config M68KCLASSIC
 
 config COLDFIRE
 	bool "Coldfire CPU family support"
-	select GENERIC_GPIO
-	select ARCH_WANT_OPTIONAL_GPIOLIB
+	select ARCH_REQUIRE_GPIOLIB
 	select ARCH_HAVE_CUSTOM_GPIO_H
 	select CPU_HAS_NO_BITFIELDS
 	select CPU_HAS_NO_MULDIV64
-- 
1.8.2

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

* [RFC 3/3] blackfin: force use of gpiolib
       [not found] <1363527723-32713-1-git-send-email-acourbot@nvidia.com>
  2013-03-17 13:42 ` [RFC 1/3] mips: pnx833x: remove requirement for GENERIC_GPIO Alexandre Courbot
  2013-03-17 13:42 ` [RFC 2/3] m68k: coldfire: use gpiolib Alexandre Courbot
@ 2013-03-17 13:42 ` Alexandre Courbot
  2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Courbot @ 2013-03-17 13:42 UTC (permalink / raw)
  To: Mike Frysinger, Geert Uytterhoeven, Ralf Baechle
  Cc: uclinux-dist-devel, linux-kernel, linux-m68k, linux-mips, gnurou,
	Alexandre Courbot

Set the GENERIC_GPIO option to false by default and force the use of
gpiolib instead of making it optional, to prepare for the removal of
GENERIC_GPIO.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/blackfin/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index c3f2e0b..20e203a 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -31,7 +31,7 @@ config BLACKFIN
 	select HAVE_OPROFILE
 	select HAVE_PERF_EVENTS
 	select ARCH_HAVE_CUSTOM_GPIO_H
-	select ARCH_WANT_OPTIONAL_GPIOLIB
+	select ARCH_REQUIRE_GPIOLIB
 	select HAVE_UID16
 	select VIRT_TO_BUS
 	select ARCH_WANT_IPC_PARSE_VERSION
@@ -56,7 +56,7 @@ config ZONE_DMA
 	def_bool y
 
 config GENERIC_GPIO
-	def_bool y
+	def_bool n
 
 config FORCE_MAX_ZONEORDER
 	int
-- 
1.8.2

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

* Re: [RFC 2/3] m68k: coldfire: use gpiolib
  2013-03-17 13:42 ` [RFC 2/3] m68k: coldfire: use gpiolib Alexandre Courbot
@ 2013-03-21  5:35   ` Greg Ungerer
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Ungerer @ 2013-03-21  5:35 UTC (permalink / raw)
  To: Alexandre Courbot
  Cc: Mike Frysinger, Geert Uytterhoeven, Ralf Baechle,
	uclinux-dist-devel, linux-kernel, linux-m68k, linux-mips,
	Alexandre Courbot

On 17/03/13 23:42, Alexandre Courbot wrote:
> Force use of gpiolib for Coldfire, as a step towards the deprecation of
> GENERIC_GPIO.
>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Greg Ungerer <gerg@uclinux.org>


> ---
>   arch/m68k/Kconfig.cpu | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
> index b1cfff8..d266787 100644
> --- a/arch/m68k/Kconfig.cpu
> +++ b/arch/m68k/Kconfig.cpu
> @@ -22,8 +22,7 @@ config M68KCLASSIC
>
>   config COLDFIRE
>   	bool "Coldfire CPU family support"
> -	select GENERIC_GPIO
> -	select ARCH_WANT_OPTIONAL_GPIOLIB
> +	select ARCH_REQUIRE_GPIOLIB
>   	select ARCH_HAVE_CUSTOM_GPIO_H
>   	select CPU_HAS_NO_BITFIELDS
>   	select CPU_HAS_NO_MULDIV64
>

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

end of thread, other threads:[~2013-03-21  5:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1363527723-32713-1-git-send-email-acourbot@nvidia.com>
2013-03-17 13:42 ` [RFC 1/3] mips: pnx833x: remove requirement for GENERIC_GPIO Alexandre Courbot
2013-03-17 13:42 ` [RFC 2/3] m68k: coldfire: use gpiolib Alexandre Courbot
2013-03-21  5:35   ` Greg Ungerer
2013-03-17 13:42 ` [RFC 3/3] blackfin: force use of gpiolib Alexandre Courbot

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