From: David Brownell <david-b@pacbell.net>
To: Andrew Morton <akpm@linux-foundation.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: eric miao <eric.y.miao@marvell.com>, Jean Delvare <khali@linux-fr.org>
Subject: [patch 2.6.24-rc4-mm 0/6] gpiolib updates
Date: Sun, 9 Dec 2007 20:34:59 -0800 [thread overview]
Message-ID: <200712092034.59924.david-b@pacbell.net> (raw)
Following this are several patches updating the current gpio
implemenentation framework. Because one of those changes
involves creating a new drivers/gpio directory, the patches
are a bit simpler if two existing patches are first removed
from the MM tree:
mcp23s08-spi-gpio-expander.patch
mcp23s08-spi-gpio-expander-checkpatch-fixes.patch
The patches in this series are:
- Adding a gpio_desc[] layer, making it easier to mix in
gpio_chips with different numbers of GPIOs without any
large holes in the number sequence. When those holes
are also reflected in IRQ number sequences, they cost
a lot of memory. (Based on work from Eric Miao.)
- More diagnostics with CONFIG_DEBUG_GPIO. Handy when
bringing up a new board, needless later. (Various
platforms had similar diagnostics.)
- A bit of implementor-oriented documentation for this
gpiolib infrastructure.
- Create a new drivers/gpio directory for expanders and
(eventually) other code. (Strongly encouraged by
Jean Delvare, to help shrink drivers/i2c/chips.)
- New-style I2C driver for pcf8574/pcf8575/compatible
GPIO expanders ... these are pretty widely used.
(This was previously posted as patch/rfc.)
- Relocated mcp23s08 driver. This includes two minor
functional changes, to handle the gpio_desc changes
and modified driver init sequence, and it merges the
minor checkpatch.pl update above.
There's an updated pca9539 driver in the works too; it
should land in the drivers/i2c directory.
I'm thinking there should be a non-functional change to
the gpiolib code: move it from lib to drivers/gpio.
My question is whether that's better done by replacing
the current patches with one new patch, or by a patch
deleting the current lib/gpiolib.c and adding a new
drivers/gpio/gpiolib.c ... I think the former would
make more sense to anyone looking at GIT history.
- Dave
next reply other threads:[~2007-12-10 4:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 4:34 David Brownell [this message]
2007-12-10 16:07 ` [patch 2.6.24-rc4-mm 0/6] gpiolib updates Jean Delvare
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=200712092034.59924.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=akpm@linux-foundation.org \
--cc=eric.y.miao@marvell.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.