[PATCHv3 1/2] [POWERPC] CPM2: Implement GPIO LIB API on CPM2 Freescale SoC.

Kumar Gala galak at kernel.crashing.org
Sat Jul 19 01:46:00 EST 2008


On Jul 18, 2008, at 10:30 AM, Jochen Friedrich wrote:

> Hi Kumar,
>
>> On Jun 18, 2008, at 12:08 PM, Laurent Pinchart wrote:
>>
>>> +#if defined(CONFIG_CPM2) || defined(CONFIG_8xx_GPIO)
>>> +
>>> +struct cpm2_ioports {
>>> +	u32 dir, par, sor, odr, dat;
>>> +	u32 res[3];
>>> +};
>>> +
>>
>> is this really common for both CPM2 and 8xx?  if so why the name?
>
> It is common to CPM2 and Port E of CPM1.

but ports a-d are different on cpm1?  I guess I'd like to see both  
patches to understand the commonality and differences.

- k



More information about the Linuxppc-dev mailing list