Re: [PATCH 2/2] Make non-linear GPIO ranges accesible from gpiolib

From: Linus Walleij
Date: Tue Jun 25 2013 - 10:56:35 EST


On Fri, Jun 21, 2013 at 11:17 PM, Stephen Warren <swarren@xxxxxxxxxxxxx> wrote:
> On 06/20/2013 05:57 AM, Christian Ruppert wrote:

>> Your remark seems to reflect one of the following two hardware
>> architectures:
>>
>> +- SPI
>> Physical pins --- GPIO --- pinctrl -+- I2C
>> +- mmc
>
> (that's diagram 1)
>
>>
>> +- GPIO
>> Physical pins -+ +- SPI
>> +- pinctrl -+- I2C
>> +- mmc
>
> (that's diagram 2)
>
>> TB10x hardware architecture:
>>
>> +- SPI
>> Physical pins --- pinctrl -+- I2C
>> +- mmc
>> +- GPIO
>
> (that's diagram 3)
>
> No, I was thinking of diagram 3 above. I'm not sure if diagrams (1) or
> (2) are common or exist?

The U300 pin controller is obviously of type (1) as it can spy on
the signals.

The Nomadik pin controller is basically type (2).

Maybe this is part of the explanation to why we sometimes tend
to talk past each other :-D

(I would replace the string "pinctrl" with "pinmux" above,
as I just did in my documentation patch adding these
diagrams.)

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/