[PATCH/RFC] [POWERPC] CPM1: implement GPIO LIB API

Jochen Friedrich jochen at scram.de
Fri Jan 18 01:42:58 EST 2008


Hi Grant,

>>  arch/powerpc/platforms/8xx/Kconfig |    2 +
>>  arch/powerpc/sysdev/commproc.c     |  162 +++++++++++++++++++++++++++++++++++-
> 
> Is this 8xx only?  Can it live in arch/powerpc/platforms/8xx?

According to the freescale docs, the GPIO ports are part of the CPM1. So I've put the
support into commproc.c (which maybe should be renamed to cpm1_common.c to match cpm2_common.c).

AFAIK, CPM1 is specific to 8xx.

Thanks,
Jochen



More information about the Linuxppc-dev mailing list