Re: [PATCH 2/5] regulator: st-flashss: Add a regulator driver for flashss vsense.

From: Mark Brown
Date: Thu Apr 14 2016 - 11:25:47 EST


On Thu, Apr 14, 2016 at 04:15:34PM +0200, Giuseppe CAVALLARO wrote:
> On 4/13/2016 7:23 PM, Mark Brown wrote:

> /*
> * After resetting, the CONFIG_REG_PSW_<xxx> are set, this
> * means 3v3 operating voltage.
> * The CONFIG_LATCHED_PSW_<xxx> must be used to fix the previous
> * bits so operating at 1v8 if this is the real HW configuration
> * at boot time.
> */
> if (!(value & TOP_VSENSE_CONFIG_LATCHED_PSW_EMMC))
> value &= ~TOP_VSENSE_CONFIG_REG_PSW_EMMC;

That's definitely better.

Attachment: signature.asc
Description: PGP signature