rk31xx:act8846:support sleep voltage for new hardware
author张晴 <zhangqing@rock-chips.com>
Thu, 31 Jan 2013 11:02:44 +0000 (19:02 +0800)
committer张晴 <zhangqing@rock-chips.com>
Thu, 31 Jan 2013 11:02:44 +0000 (19:02 +0800)
arch/arm/mach-rk30/board-rk3168-ds1006h.c
arch/arm/mach-rk30/board-rk3168-tb.c
arch/arm/mach-rk3188/board-rk3188-ds1006h.c

index 39c88828e56ace2c67ddf097d02fb6ad4add55bc..a049a56d573ce4a325893004384a4984991a993b 100755 (executable)
@@ -1180,19 +1180,31 @@ static struct pmu_info  act8846_dcdc_info[] = {
                .name          = "vdd_core",    //logic
                .min_uv          = 1000000,
                .max_uv         = 1000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  1200000,
+               #else
                .suspend_vol  =  900000,
+               #endif
        },
        {
                .name          = "vdd_cpu",   //arm
                .min_uv          = 1000000,
                .max_uv         = 1000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  1200000,
+               #else
                .suspend_vol  =  900000,
+               #endif
        },
        {
                .name          = "act_dcdc4",   //vccio
                .min_uv          = 3000000,
                .max_uv         = 3000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  3000000,
+               #else
                .suspend_vol  =  2800000,
+               #endif
        },
        
 };
index b77af4b87b22db6777bcc073f4d4f9a9d1665801..f709c23040d67c6e261e1c46888b5205b4f116bf 100755 (executable)
@@ -1576,19 +1576,34 @@ static struct pmu_info  act8846_dcdc_info[] = {
                .name          = "vdd_core",    //logic
                .min_uv          = 1000000,
                .max_uv         = 1000000,
-               .suspend_vol  =  1000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  1200000,
+               #else
+               .suspend_vol  =  900000,
+               #endif
+
        },
        {
                .name          = "vdd_cpu",   //arm
                .min_uv          = 1000000,
                .max_uv         = 1000000,
-               .suspend_vol  =  1000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  1200000,
+               #else
+               .suspend_vol  =  900000,
+               #endif
+
        },
        {
                .name          = "act_dcdc4",   //vccio
                .min_uv          = 3000000,
                .max_uv         = 3000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
                .suspend_vol  =  3000000,
+               #else
+               .suspend_vol  =  2800000,
+               #endif
+
        },
        
 };
index bb895a2e7058866dc9fea5ebdf07a6c7e1ad6f99..3924bf4ba265e30f910c17310f2cc572bb9b8647 100755 (executable)
@@ -1235,19 +1235,31 @@ static struct pmu_info  act8846_dcdc_info[] = {
                .name          = "vdd_core",    //logic
                .min_uv          = 1000000,
                .max_uv         = 1000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  1200000,
+               #else
                .suspend_vol  =  900000,
+               #endif
        },
        {
                .name          = "vdd_cpu",   //arm
                .min_uv          = 1000000,
                .max_uv         = 1000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  1200000,
+               #else
                .suspend_vol  =  900000,
+               #endif
        },
        {
                .name          = "act_dcdc4",   //vccio
                .min_uv          = 3000000,
                .max_uv         = 3000000,
+               #ifdef CONFIG_ACT8846_SUPPORT_RESET
+               .suspend_vol  =  3000000,
+               #else
                .suspend_vol  =  2800000,
+               #endif
        },
        
 };