Messages in this thread | | | Date | Wed, 09 Apr 2014 14:38:06 +0200 | From | Tomasz Figa <> | Subject | Re: [PATCH] phy: exynos5-usbdrd: Add facility to toggle vbus gpio on/off |
| |
Hi,
On 09.04.2014 14:24, Vivek Gautam wrote: > Hi Sylwester, > > > On Wed, Apr 9, 2014 at 5:41 PM, Sylwester Nawrocki > <s.nawrocki@samsung.com> wrote: >> Hi Vivek, >> >> On 09/04/14 13:54, Vivek Gautam wrote: >>> Adding support to enable/disable VBUS hooked to a gpio >>> to enable vbus supply on the port. >> >> Does the GPIO control a fixed voltage regulator ? If so, shouldn't >> it be modelled by the regulator API instead ? > > No, this GPIO controls a 'current limiting power distribution switch', > which gives the output vbus to usb controller. > Should i model this as a fixed regulator ?
If I understand this correctly, this is just a switch that lets you control whether vbus is provided to the USB connector or not. If so, this doesn't look like an Exynos-specific thing at all and should rather be modeled on higher level.
Best regards, Tomasz
| |