Messages in this thread | | | From | Eric Miao <> | Date | Wed, 21 Sep 2011 22:04:59 +0800 | Subject | Re: [PATCH 15/19] plat-pxa: break out GPIO driver specifics |
| |
On Tue, Sep 20, 2011 at 4:45 PM, Linus Walleij <linus.walleij@linaro.org> wrote: > On Wed, Aug 10, 2011 at 4:38 PM, Eric Miao <eric.y.miao@gmail.com> wrote: >> On Wed, Aug 10, 2011 at 8:18 PM, Linus Walleij >> <linus.walleij@stericsson.com> wrote: >>> From: Linus Walleij <linus.walleij@linaro.org> >>> >>> The <mach/gpio.h> file is included from upper directories >>> and deal with generic GPIO and gpiolib stuff. Break out the >>> platform and driver specific defines and functions into its own >>> header file. >>> >>> Cc: Eric Miao <eric.y.miao@gmail.com> >>> Cc: Russell King <linux@arm.linux.org.uk> >>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> >> >> I think there is better way around this, am working on it with several >> patches already, will release soon. > > Anything happening on this front or shall I update this patch set?
Hi Linus,
Several cleanup patches in my local tree but I didn't manage to find time to finish the series. Please go ahead update the patch set. We can fix the problems later.
Haojian,
Could you help on generalize the GPIO support code for PXA? Generally, the goals are:
1. independent of <mach/gpio.h>, i.e. no #include <mach/gpio.h> so to support multiple sub-arch in a single kernel, that's to say - possible to build a single kernel supporting both mach-pxa/ and mach-mmp/
2. as a result of 1), independent of <plat/gpio.h>
Thanks - eric
> > Yours, > Linus Walleij >
| |