diff --git a/arch/arm/mach-rk29/board-rk29-phonesdk.c b/arch/arm/mach-rk29/board-rk29-phonesdk.c index b42f059d343d..256664c46017 100755 --- a/arch/arm/mach-rk29/board-rk29-phonesdk.c +++ b/arch/arm/mach-rk29/board-rk29-phonesdk.c @@ -777,13 +777,6 @@ int wm831x_post_init(struct wm831x *parm) printk("%s set ldo2=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); regulator_put(ldo); - ldo = regulator_get(NULL, "ldo3"); //sram - regulator_disable(ldo); -// regulator_set_voltage(ldo,1800000,1800000); -// regulator_set_suspend_voltage(ldo,1800000); -// regulator_enable(ldo); -// printk("%s set ldo3=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); - regulator_put(ldo); ldo = regulator_get(NULL, "ldo5"); //tf regulator_set_voltage(ldo,3000000,3000000); @@ -799,22 +792,32 @@ int wm831x_post_init(struct wm831x *parm) printk("%s set ldo6=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); regulator_put(ldo); + + +#if 0 + ldo = regulator_get(NULL, "ldo3"); //sram + regulator_set_voltage(ldo,1800000,1800000); + regulator_set_suspend_voltage(ldo,1800000); + regulator_enable(ldo); + printk("%s set ldo3=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); + regulator_put(ldo); + + ldo = regulator_get(NULL, "ldo8"); //cmmb - regulator_disable(ldo); -// regulator_set_voltage(ldo,1200000,1200000); -// regulator_set_suspend_voltage(ldo,1200000); -// regulator_enable(ldo); -// printk("%s set ldo8=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); + regulator_set_voltage(ldo,1200000,1200000); + regulator_set_suspend_voltage(ldo,1200000); + regulator_enable(ldo); + printk("%s set ldo8=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); regulator_put(ldo); ldo = regulator_get(NULL, "ldo9"); //cmmb - regulator_disable(ldo); -// regulator_set_voltage(ldo,3000000,3000000); -// regulator_set_suspend_voltage(ldo,3000000); -// regulator_enable(ldo); -// printk("%s set ldo9=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); + regulator_set_voltage(ldo,3000000,3000000); + regulator_set_suspend_voltage(ldo,3000000); + regulator_enable(ldo); + printk("%s set ldo9=%dmV end\n", __FUNCTION__, regulator_get_voltage(ldo)); regulator_put(ldo); - +#endif + #endif ldo = regulator_get(NULL, "ldo11");