Re: [PATCH 2/2] twl6030: regulator: Configure STATE register instead of REMAP

Liam Girdwood
2010-02-18T12:33:20Z

On Wed, 2010-02-17 at 20:54 +0530, Rajendra Nayak wrote:
> This is no REMAP register on twl6030, instead there is a STATE register
> to drive a resource to a given state.
> The state register can be used to specify what state the resource should
> enter when its associated with a GRP.
> Register Bit field description is as below. The patch programmes the
> corresponding STATE registers for all LDO's to turn ON when assocaited
> with GRP_P1.
>
> STATE REG:
> Bit7 |Bit6 |Bit5 |Bit4 |Bit3 |Bit2 |Bit1 |Bit0
> P3_GRP |P2_GRP |P1_GRP |RES |RES |RES |State1 |State0
>
> State can be specified as below
> 00: OFF
> 01: ON
> 10: OFF
> 11: SLEEP
>
> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
> Cc: Liam Girdwood <lrg@slimlogic.co.uk>
> Cc: Samuel Ortiz <sameo@linux.intel.com>
> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---

Applied.

Thanks

Liam

--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.