[PATCH 15/19] plat-pxa: break out GPIO driver specifics

Eric Miao eric.y.miao at gmail.com
Wed Sep 21 10:04:59 EDT 2011


On Tue, Sep 20, 2011 at 4:45 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Wed, Aug 10, 2011 at 4:38 PM, Eric Miao <eric.y.miao at gmail.com> wrote:
>> On Wed, Aug 10, 2011 at 8:18 PM, Linus Walleij
>> <linus.walleij at stericsson.com> wrote:
>>> From: Linus Walleij <linus.walleij at 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 at gmail.com>
>>> Cc: Russell King <linux at arm.linux.org.uk>
>>> Signed-off-by: Linus Walleij <linus.walleij at 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
>



More information about the linux-arm-kernel mailing list