Re: [Regulator] Request for clarification - GPIO controlled regulator, USB VBUS,

From: Mark Brown
Date: Wed Oct 04 2017 - 06:32:20 EST


On Tue, Oct 03, 2017 at 06:58:00PM +0200, Åukasz Majewski wrote:

> Have I overlooked something? Maybe there is any other mainline code, which I
> could reuse?

No, we don't support randomly toggling power for devices without their
cooperation - it's not generally going to end well. The reason it's
difficult to do this is that it's a bad idea. Perhaps this is something
that could be implemented generically for USB as it's a hotpluggable bus
but I'm not convinced.

Attachment: signature.asc
Description: PGP signature