VBUS GPIO for drivers/phy (was: Re: [RFC] usb: phy: generic: get rid of VBUS handling)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

(next time, please create a new thread :-)

Zhangfei Gao <zhangfei.gao@xxxxxxxxx> writes:
> Hi, Balbi & Robert
>
> Have one question about commit 7acc9973e3c4 ("usb: phy: generic: add
> vbus support").
> Sorry asking here.
>
> Commit 7acc9973e3c4 ("usb: phy: generic: add vbus support") is adding
>  GPIO-based VBUS handling for phy-generic.c
>
> And now we are uploading usb phy to drivers/phy/, as Balbi mentioned
> drivers/usb/phy/ will not accept new phy driver.
>
> Any suggestion about handling vbus (gpio) for the phy under drivers/phy/

yeah, just define a fixed 5V regulator with a gpio enable. Then just
call regulator_enable/disable() at the right time.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux