lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 4 Oct 2017 15:57:10 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Łukasz Majewski <l.majewski@...ess.pl>
Cc:     linux-input@...r.kernel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Liam Girdwood <lgirdwood@...il.com>
Subject: Re: [Regulator] Request for clarification - GPIO controlled
 regulator, USB VBUS,

On Wed, Oct 04, 2017 at 01:54:49PM +0200, Łukasz Majewski wrote:
> > 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:

> > > 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.

I'm having a hard time connecting that with what you wrote above or with
the suggestion to do this in the USB framework, sorry.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ