]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator: ab8500: Initialize Vrf1 regulator
authorLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 11:53:17 +0000 (11:53 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Feb 2013 19:36:25 +0000 (19:36 +0000)
Vrf1 regulator is put in HW control at initialization. Forcing
this regulator to HW control in suspend is removed.

Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
arch/arm/mach-ux500/board-mop500-regulators.c
drivers/regulator/ab8500.c

index 0cc9edc690ffd0546a5b33637c6c2621bad44854..ba379f78c58a9110e11b9a3540c0b360db6f7782 100644 (file)
@@ -275,9 +275,10 @@ ab8500_regulator_reg_init[AB8500_NUM_REGULATOR_REGISTERS] = {
         */
        INIT_REGULATOR_REGISTER(AB8500_VAUX12REGU, 0x01),
        /*
-        * Vaux3regu                = force off
+        * Vrf1Regu                 = HW control
+        * Vaux3Regu                = force off
         */
-       INIT_REGULATOR_REGISTER(AB8500_VRF1VAUX3REGU, 0x00),
+       INIT_REGULATOR_REGISTER(AB8500_VRF1VAUX3REGU, 0x08),
        /*
         * Vsmps1                   = 1.15V
         */
index ac07fc84f99e38d8e0176c31c1c8939ba41753ec..b36941171ea3446d8e96f783bc4d00990564cbee 100644 (file)
@@ -619,9 +619,10 @@ static struct ab8500_reg_init ab8500_reg_init[] = {
         */
        REG_INIT(AB8500_VAUX12REGU,             0x04, 0x09, 0x0f),
        /*
+        * 0x0c, Vrf1Regu
         * 0x03, Vaux3Regu
         */
-       REG_INIT(AB8500_VRF1VAUX3REGU,          0x04, 0x0a, 0x03),
+       REG_INIT(AB8500_VRF1VAUX3REGU,          0x04, 0x0a, 0x0f),
        /*
         * 0x3f, Vsmps1Sel1
         */