Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

From: Linus Walleij
Date: Sat Mar 07 2015 - 15:04:07 EST


On Fri, Feb 20, 2015 at 9:40 PM, David Cohen
<david.a.cohen@xxxxxxxxxxxxxxx> wrote:
> On Fri, Feb 20, 2015 at 02:00:26PM -0600, Felipe Balbi wrote:
>> On Fri, Feb 20, 2015 at 11:59:27AM -0800, David Cohen wrote:

>> > I'd need to lookup GPIOs via ACPI without requesting them on mfd driver
>> > and then give them to children devices.
>> > Heikki proposed a way to do that on [1], but it got nack'ed by community.
>>
>> you missed [1] :-)
>
> Oops. Looks like it went away during your past reply :)
>
> [1] https://lkml.org/lkml/2014/12/18/82

We don't want to do that in generic code since it's an ACPI
problem, not a generic GPIO problem.

So the solution must be confined to the GPIO ACPI portions
of the GPIO code, not altering central mechanisms.

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/