[PATCH 15/19] plat-pxa: break out GPIO driver specifics
Haojian Zhuang
hzhuang1 at marvell.com
Thu Sep 22 22:37:09 EDT 2011
>-----Original Message-----
>From: Eric Miao [mailto:eric.y.miao at gmail.com]
>Sent: 2011年9月21日 10:05 PM
>To: Linus Walleij; Haojian Zhuang
>Cc: Linus Walleij; Grant Likely; linux-kernel at vger.kernel.org; linux-
>arm-kernel at lists.infradead.org; Lee Jones; Russell King
>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 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>
>
OK. I'll follow this.
>Thanks
>- eric
>
>>
>> Yours,
>> Linus Walleij
>>
More information about the linux-arm-kernel
mailing list