Re: [PATCH v1] gpio: keystone: add dsp gpio controller driver

From: Santosh Shilimkar
Date: Thu Jul 24 2014 - 10:21:43 EST


On Thursday 24 July 2014 10:12 AM, Linus Walleij wrote:
> On Wed, Jul 23, 2014 at 5:25 PM, Santosh Shilimkar
> <santosh.shilimkar@xxxxxx> wrote:
>
>> I will try to answer this. This IP is indeed a GPIO block
>> but the IO's are used just OUTPUT lines from Linux
>> HOST perspective. These IOs are connected to the DSPs
>> as input/IRQ lines.
>
> So the DSP is another discrete IC, and could be something
> different, so this is board-level information?
>
> I'm really worrying whether this is general purpose or not :-/
>
Am not sure I follow you. This IP is completely controlled
by Linux OS to generate output signals. How does it matter
whether its connected to a peripheral or a discrete IC. For
example instead of DSP if I connected these lines to an
external PMIC, which considers these as input lines to
perform some actions. Isn't that GPIO usecase as per you ?
Given that this IP only output functionality is used but
that shouldn't matter. We have seen SOCs where GPIOs
are just used as input to form a Matrix Keyboard.

May be I am missing your point.

Regards,
Santosh



--
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/