[PATCH 4/7] [POWERPC] QE: implement support for the GPIO LIB API

Anton Vorontsov avorontsov at ru.mvista.com
Wed May 28 01:16:28 EST 2008


On Tue, May 27, 2008 at 10:04:20AM -0500, Kumar Gala wrote:
>
> On May 23, 2008, at 11:39 AM, Anton Vorontsov wrote:
>
>> This is needed to access QE GPIOs via Linux GPIO API.
>>
>> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
>> Acked-By: Timur Tabi <timur at freescale.com>
>> ---
>> Documentation/powerpc/booting-without-of.txt |   27 +++++
>> arch/powerpc/sysdev/qe_lib/Kconfig           |    9 ++
>> arch/powerpc/sysdev/qe_lib/Makefile          |    1 +
>> arch/powerpc/sysdev/qe_lib/gpio.c            |  148 +++++++++++++++++ 
>> +++++++++
>> include/asm-powerpc/qe.h                     |    2 +
>> 5 files changed, 187 insertions(+), 0 deletions(-)
>> create mode 100644 arch/powerpc/sysdev/qe_lib/gpio.c
>
> didn't we talk about putting this is drivers/gpio/ ?

:-)

Yes, we did. And David Brownell politely suggested to not do this,
and instead leave it in arch/ as do all other arches for their SOC
GPIOs.

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list