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

Linus Walleij
2015-03-07T20:03:57Z

On Fri, Feb 20, 2015 at 9:40 PM, David Cohen
<david.a.cohen@linux.intel.com> 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