Re: [PATCH] regulator: pfuze100: Allow pfuze3000 to not go to low power mode

From: Mark Brown
Date: Wed Aug 17 2016 - 11:41:35 EST


On Wed, Aug 17, 2016 at 09:36:21AM -0300, Fabio Estevam wrote:
> On a imx6ul-pico board, after issuing a "echo mem > /sys/power/state"
> the board goes trough a POR reset instead of going into suspend.

> This happens because the pfuze3000 goes to low power by default when the
> system goes to suspend.

> This behaviour is controlled by the STBY_LOWPOWER_B bit of register
> LDOGCTL as explained in the pfuze3000 datasheet:

> "When STBY_LOWPOWER_B bit is set to 1, the front-end LDO does not enter
> in low-power mode during IC standby mode."

> Introduce a "fsl,low-power-mode-disabled" property that allows the
> pfuze3000 to not enter low-power mode during system standby.

We already have suspend mode configuration for regulators, shouldn't
this just be done via that interface?

Attachment: signature.asc
Description: PGP signature