rk30xx: pmic: delay 10ms after 32.768K switch to 24M
authorchenxing <chenxing@rock-chips.com>
Sat, 18 May 2013 05:20:45 +0000 (13:20 +0800)
committerchenxing <chenxing@rock-chips.com>
Sat, 18 May 2013 05:20:45 +0000 (13:20 +0800)
arch/arm/mach-rk30/board-pmu-act8846.c
arch/arm/mach-rk30/board-pmu-tps65910.c
arch/arm/mach-rk30/board-pmu-wm8326.c

index 64b4feaf0838ee6552e48af608c1f3a0d8df228d..b97ee8d8db76913c460389f7bb56b0dd0a5c9dac 100755 (executable)
@@ -511,7 +511,7 @@ void __sramfunc board_pmu_act8846_resume(void)
 {
        #ifdef CONFIG_CLK_SWITCH_TO_32K
        sram_gpio_set_value(pmic_sleep, GPIO_LOW);  
-       sram_32k_udelay(1000);
+       sram_32k_udelay(10000);
        #endif
 }
 void __sramfunc board_act8846_set_suspend_vol(void)
@@ -524,7 +524,7 @@ void __sramfunc board_act8846_set_resume_vol(void)
 {
 #ifdef CONFIG_ACT8846_SUPPORT_RESET
        sram_gpio_set_value(pmic_vsel, GPIO_LOW);  
-       sram_32k_udelay(1000);
+       sram_32k_udelay(10000);
 #endif
 }
 
index f9062668e8c2c60c4f5d7d98bbbc3fcced122a34..6f83dc3ad5d223217f838f5db934e3e063bd0d8b 100755 (executable)
@@ -579,7 +579,7 @@ void __sramfunc board_pmu_tps65910_resume(void)
 {
        #ifdef CONFIG_CLK_SWITCH_TO_32K
        sram_gpio_set_value(pmic_sleep, GPIO_LOW);  
-       sram_32k_udelay(2000);
+       sram_32k_udelay(10000);
        #endif
 }
 static struct tps65910_board tps65910_data = {
index 486092540f127567a30904379f8af1596b59c7e4..1c6b9a45a49d535660da9c1838ec40c1c3a0f966 100755 (executable)
@@ -787,7 +787,7 @@ void __sramfunc board_pmu_wm8326_resume(void)
 {
        #ifdef CONFIG_CLK_SWITCH_TO_32K
        sram_gpio_set_value(pmic_sleep, GPIO_LOW);  
-       sram_32k_udelay(2000);
+       sram_32k_udelay(10000);
        #endif
 }
 static struct wm831x_pdata wm831x_platdata = {