From: Alexandre Courbot <gnurou@gmail.com>
To: Mike Frysinger <vapier@gentoo.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Ralf Baechle <ralf@linux-mips.org>
Cc: uclinux-dist-devel@blackfin.uclinux.org,
linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org,
linux-mips@linux-mips.org, gnurou@gmail.com,
Alexandre Courbot <acourbot@nvidia.com>
Subject: [RFC 0/3] Removal of GENERIC_GPIO from architecture code
Date: Sun, 17 Mar 2013 22:42:00 +0900 [thread overview]
Message-ID: <1363527723-32713-1-git-send-email-acourbot@nvidia.com> (raw)
These three patches are from a larger set that aims at completely removing the
GENERIC_GPIO option from platform code and config files as a first step towards
his complete removal. After that, the use of the generic GPIO API would be
provided through gpiolib. This series has already been discussed (see
https://lkml.org/lkml/2013/3/12/167 for details and the rationale between these
patches) and approved by most architectures, but before having it rolled on
linux-next I'd like to hear from the 3 following architectures which have not
replied to the previous patch set and are the most likely to be affected by
this (other architectures almost all require gpiolib to start with).
mips: pnx833x: used to select GENERIC_GPIO but I'm not sure if it's needed at
all. I could not find a GPIO driver implementation that did not depend on
gpiolib. Platform code is sometimes subtle though, so it is possible that I
just missed it.
m68k: coldfire: turns gpiolib from optional to mandatory. Might increase the
kernels size by ~15KB for builds that did not make use of gpiolib (are there
still such builds?)
blackfin: turns gpiolib from optional to mandatory, same side-effect.
Note that all architectures *can* operate with gpiolib, but only the three
above leave the option to not do so. Since a new GPIO API is being prepared
around gpiolib amongst other features, the option of only supporting
GENERIC_GPIO leads to fragmentation and a lot of confusion for both drivers and
platform code.
If you have any good reason to not see these changes applied, please let me
know shortly - acks are welcome too.
Thanks,
Alex.
Alexandre Courbot (3):
mips: pnx833x: remove requirement for GENERIC_GPIO
m68k: coldfire: use gpiolib
blackfin: force use of gpiolib
arch/blackfin/Kconfig | 4 ++--
arch/m68k/Kconfig.cpu | 3 +--
arch/mips/Kconfig | 1 -
3 files changed, 3 insertions(+), 5 deletions(-)
--
1.8.2
next reply other threads:[~2013-03-17 13:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-17 13:42 Alexandre Courbot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363527723-32713-1-git-send-email-acourbot@nvidia.com \
--to=gnurou@gmail.com \
--cc=acourbot@nvidia.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=uclinux-dist-devel@blackfin.uclinux.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®