lkml.org 
[lkml]   [2017]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Regulator] Request for clarification - GPIO controlled regulator, USB VBUS,
From
Date
Hi Mark,

> On Wed, Oct 04, 2017 at 12:45:39PM +0200, Łukasz Majewski wrote:
>>> On Tue, Oct 03, 2017 at 06:58:00PM +0200, Łukasz Majewski wrote:
>
>>> Perhaps this is something
>>> that could be implemented generically for USB as it's a hotpluggable bus
>
>> In this case we use VBUS as a power supply voltage. The problem with
>> regulator API used in this case is that we enable it on boot-up, but then we
>> cannot "symulate hotplug" anymore.
>
> I don't really understand what you mean there, sorry.

I do use "regulator-fixed" to control VBUS.

The USB driver used regulator_enable/disable to supply power of VBUS.


What I do want to achieve:

For testing purpose I would like to enable/disable this supply (VBUS)
and force/restart of re-enumeration.

> The majority of
> regulator usage is to supply power, use as reference voltages or
> similar.
>


--
Best regards.

Łukasz Majewski

\
 
 \ /
  Last update: 2017-10-04 14:03    [W:0.043 / U:1.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site