Re: [PATCH] regulator: lp873x: Update the enable mask for LDOs and BUCKs

From: Mark Brown
Date: Tue Oct 10 2017 - 04:55:28 EST


On Tue, Oct 10, 2017 at 07:34:52AM +0530, Keerthy wrote:
> On Monday 09 October 2017 09:20 PM, Mark Brown wrote:
> > On Mon, Oct 09, 2017 at 06:35:14PM +0300, Tero Kristo wrote:

> >> I wonder if we should tie this somehow to the system-power-controller
> >> property though.... If the PMIC is not system-power-controller, we should
> >> disable the EN_PIN_CTRL from all regulators so that they don't go down if
> >> the EN_PIN itself is floating for example.

> > Seems plausible, if someone does decided to use control at runtime the
> > behaviour can always be changed if the GPIO is present.

> Okay. So Implement a poweroff function where EN pin magic is done based
> on system-power-controller property?

That's up to you lot.

Attachment: signature.asc
Description: PGP signature