* Re: [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h [not found] <1334483574-3997-1-git-send-email-broonie@opensource.wolfsonmicro.com> @ 2012-04-16 7:21 ` Linus Walleij 2012-04-16 7:53 ` [ORLinux] " Jonas Bonn 2012-04-16 8:15 ` Mark Brown 0 siblings, 2 replies; 5+ messages in thread From: Linus Walleij @ 2012-04-16 7:21 UTC (permalink / raw) To: Mark Brown Cc: linux-arch, Grant Likely, linux-ia64, Linus Walleij, Chris Zankel, microblaze-uclinux, linux, linux-kernel, linux-alpha, sparclinux, linuxppc-dev@lists.ozlabs.org list On Sun, Apr 15, 2012 at 11:52 AM, Mark Brown <broonie@opensource.wolfsonmicro.com> wrote: > Rather than requiring architectures that use gpiolib but don't have any > need to define anything custom to copy an asm/gpio.h provide a Kconfig > symbol which architectures must select in order to include gpio.h and > for other architectures just provide the trivial implementation directly. > > This makes it much easier to do gpiolib updates and is also a step toward= s > making gpiolib APIs available on every architecture. > > For architectures with existing boilerplate code leave a stub header in > place which warns on direct inclusion of asm/gpio.h and includes > linux/gpio.h to catch code that's doing this. =A0Direct inclusion of > asm/gpio.h has long been deprecated. > > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> > --- > =A0arch/alpha/include/asm/gpio.h =A0 =A0 =A0| =A0 59 ++------------------= ---------- > =A0arch/arm/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A01 + > =A0arch/avr32/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A01 + > =A0arch/blackfin/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A01 + > =A0arch/ia64/include/asm/gpio.h =A0 =A0 =A0 | =A0 59 ++------------------= ---------- > =A0arch/m68k/Kconfig.cpu =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A01 + > =A0arch/microblaze/include/asm/gpio.h | =A0 57 ++------------------------= --- > =A0arch/mips/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A01 + > =A0arch/openrisc/include/asm/gpio.h =A0 | =A0 69 ++----------------------= ----------- > =A0arch/powerpc/include/asm/gpio.h =A0 =A0| =A0 57 ++--------------------= ------- > =A0arch/sh/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A01 + > =A0arch/sparc/include/asm/gpio.h =A0 =A0 =A0| =A0 40 ++------------------= - > =A0arch/unicore32/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A01 + > =A0arch/x86/include/asm/gpio.h =A0 =A0 =A0 =A0| =A0 57 ++----------------= ----------- > =A0arch/xtensa/include/asm/gpio.h =A0 =A0 | =A0 60 ++--------------------= --------- > =A0drivers/gpio/Kconfig =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A08 ++++ > =A0include/linux/gpio.h =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 34 ++++++++++++= +++++ > =A017 files changed, 81 insertions(+), 426 deletions(-) This looks good but I think we need to page the alpha, ia64, m68k, microbla= ze, openrisc etc subarch maintainers on this patch so they have their say. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ORLinux] [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-04-16 7:21 ` [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h Linus Walleij @ 2012-04-16 7:53 ` Jonas Bonn 2012-04-16 8:15 ` Mark Brown 1 sibling, 0 replies; 5+ messages in thread From: Jonas Bonn @ 2012-04-16 7:53 UTC (permalink / raw) To: Linus Walleij Cc: linux-arch, Grant Likely, linux-alpha, linux-ia64, Linus Walleij, Chris Zankel, microblaze-uclinux, Mark Brown, linux-kernel, linux, sparclinux, linuxppc-dev@lists.ozlabs.org list Acked-by: Jonas Bonn <jonas@southpole.se> (for OpenRISC) On Mon, 2012-04-16 at 09:21 +0200, Linus Walleij wrote: > On Sun, Apr 15, 2012 at 11:52 AM, Mark Brown > <broonie@opensource.wolfsonmicro.com> wrote: > > > Rather than requiring architectures that use gpiolib but don't have any > > need to define anything custom to copy an asm/gpio.h provide a Kconfig > > symbol which architectures must select in order to include gpio.h and > > for other architectures just provide the trivial implementation directly. > > > > This makes it much easier to do gpiolib updates and is also a step towards > > making gpiolib APIs available on every architecture. > > > > For architectures with existing boilerplate code leave a stub header in > > place which warns on direct inclusion of asm/gpio.h and includes > > linux/gpio.h to catch code that's doing this. Direct inclusion of > > asm/gpio.h has long been deprecated. > > > > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> > > --- > > arch/alpha/include/asm/gpio.h | 59 ++---------------------------- > > arch/arm/Kconfig | 1 + > > arch/avr32/Kconfig | 1 + > > arch/blackfin/Kconfig | 1 + > > arch/ia64/include/asm/gpio.h | 59 ++---------------------------- > > arch/m68k/Kconfig.cpu | 1 + > > arch/microblaze/include/asm/gpio.h | 57 ++--------------------------- > > arch/mips/Kconfig | 1 + > > arch/openrisc/include/asm/gpio.h | 69 ++--------------------------------- > > arch/powerpc/include/asm/gpio.h | 57 ++--------------------------- > > arch/sh/Kconfig | 1 + > > arch/sparc/include/asm/gpio.h | 40 ++------------------- > > arch/unicore32/Kconfig | 1 + > > arch/x86/include/asm/gpio.h | 57 ++--------------------------- > > arch/xtensa/include/asm/gpio.h | 60 ++----------------------------- > > drivers/gpio/Kconfig | 8 ++++ > > include/linux/gpio.h | 34 +++++++++++++++++ > > 17 files changed, 81 insertions(+), 426 deletions(-) > > This looks good but I think we need to page the alpha, ia64, m68k, microblaze, > openrisc etc subarch maintainers on this patch so they have their say. > > Yours, > Linus Walleij > _______________________________________________ > Linux mailing list > Linux@lists.openrisc.net > http://lists.openrisc.net/listinfo/linux ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-04-16 7:21 ` [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h Linus Walleij 2012-04-16 7:53 ` [ORLinux] " Jonas Bonn @ 2012-04-16 8:15 ` Mark Brown 2012-04-16 8:26 ` Linus Walleij 2012-05-12 0:08 ` Grant Likely 1 sibling, 2 replies; 5+ messages in thread From: Mark Brown @ 2012-04-16 8:15 UTC (permalink / raw) To: Linus Walleij Cc: linux-arch, Grant Likely, linux-ia64, Linus Walleij, Chris Zankel, microblaze-uclinux, linux, linux-kernel, linux-alpha, sparclinux, linuxppc-dev@lists.ozlabs.org list [-- Attachment #1: Type: text/plain, Size: 354 bytes --] On Mon, Apr 16, 2012 at 09:21:58AM +0200, Linus Walleij wrote: > This looks good but I think we need to page the alpha, ia64, m68k, microblaze, > openrisc etc subarch maintainers on this patch so they have their say. That's why I CCed linux-arch, to get all the architecture maintainers included. vger would get upset if I CCed everyone individually. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-04-16 8:15 ` Mark Brown @ 2012-04-16 8:26 ` Linus Walleij 2012-05-12 0:08 ` Grant Likely 1 sibling, 0 replies; 5+ messages in thread From: Linus Walleij @ 2012-04-16 8:26 UTC (permalink / raw) To: Mark Brown Cc: linux-arch, Grant Likely, linux-ia64, Linus Walleij, Chris Zankel, microblaze-uclinux, linux, linux-kernel, linux-alpha, sparclinux, linuxppc-dev@lists.ozlabs.org list On Mon, Apr 16, 2012 at 10:15 AM, Mark Brown <broonie@opensource.wolfsonmicro.com> wrote: > On Mon, Apr 16, 2012 at 09:21:58AM +0200, Linus Walleij wrote: > >> This looks good but I think we need to page the alpha, ia64, m68k, micro= blaze, >> openrisc etc subarch maintainers on this patch so they have their say. > > That's why I CCed linux-arch, to get all the architecture maintainers > included. =A0vger would get upset if I CCed everyone individually. Oh I missed it. I looped in a few maintainers and arch lists anyway. Acked-by: Linus Walleij <linus.walleij@linaro.org> Thanks! Linus Walleij ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-04-16 8:15 ` Mark Brown 2012-04-16 8:26 ` Linus Walleij @ 2012-05-12 0:08 ` Grant Likely 1 sibling, 0 replies; 5+ messages in thread From: Grant Likely @ 2012-05-12 0:08 UTC (permalink / raw) To: Mark Brown, Linus Walleij Cc: linux-arch, Grant Likely, linux-ia64, Linus Walleij, Chris Zankel, microblaze-uclinux, linux, linux-kernel, linux-alpha, sparclinux, linuxppc-dev@lists.ozlabs.org list On Mon, 16 Apr 2012 09:15:32 +0100, Mark Brown <broonie@opensource.wolfsonmicro.com> wrote: > On Mon, Apr 16, 2012 at 09:21:58AM +0200, Linus Walleij wrote: > > > This looks good but I think we need to page the alpha, ia64, m68k, microblaze, > > openrisc etc subarch maintainers on this patch so they have their say. > > That's why I CCed linux-arch, to get all the architecture maintainers > included. vger would get upset if I CCed everyone individually. Meh; it's been long enough. I'll build the major ones and then throw it into linux-next. g. -- Grant Likely, B.Sc, P.Eng. Secret Lab Technologies, Ltd. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-05-12 0:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1334483574-3997-1-git-send-email-broonie@opensource.wolfsonmicro.com> 2012-04-16 7:21 ` [PATCH] gpiolib/arches: Centralise bolierplate asm/gpio.h Linus Walleij 2012-04-16 7:53 ` [ORLinux] " Jonas Bonn 2012-04-16 8:15 ` Mark Brown 2012-04-16 8:26 ` Linus Walleij 2012-05-12 0:08 ` Grant Likely
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).