Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter

From: Antony Pavlov
Date: Tue Feb 09 2016 - 18:36:06 EST


On Tue, 9 Feb 2016 23:15:20 +0100
Alban <albeu@xxxxxxx> wrote:

> On Tue, 9 Feb 2016 11:13:53 +0300
> Antony Pavlov <antonynpavlov@xxxxxxxxx> wrote:
>
> > This patch retrieves and configures the vbus control gpio via
> > the device tree.
>
> Wouldn't using a regulator be better than hard coding the GPIO case?
>

Marek Vasut has noted that it is possible to use compatible = "chipidea,usb2",
which makes it possible to connect fixed vbus regulator via "vbus-supply" property.

I'll try to use fixed-regulator in RFC v6.

-- 
Best regards,
  Antony Pavlov