From 1edcdb2eab8a13edb52dcc093c68315b9948d793 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Wed, 26 Dec 2012 11:09:23 +0800 Subject: [PATCH] rk3168:support act8846 set sleep voltage --- arch/arm/mach-rk30/board-pmu-act8846.c | 1 + arch/arm/mach-rk30/board-rk3168-tb.c | 1 + 2 files changed, 2 insertions(+) mode change 100644 => 100755 arch/arm/mach-rk30/board-rk3168-tb.c diff --git a/arch/arm/mach-rk30/board-pmu-act8846.c b/arch/arm/mach-rk30/board-pmu-act8846.c index d218af1d2d86..42a78d2b9b75 100755 --- a/arch/arm/mach-rk30/board-pmu-act8846.c +++ b/arch/arm/mach-rk30/board-pmu-act8846.c @@ -48,6 +48,7 @@ static int act8846_set_init(struct act8846 *act8846) continue; dcdc =regulator_get(NULL, act8846_dcdc_info[i].name); regulator_set_voltage(dcdc, act8846_dcdc_info[i].min_uv, act8846_dcdc_info[i].max_uv); + regulator_set_suspend_voltage(dcdc, act8846_dcdc_info[i].suspend_vol); regulator_enable(dcdc); printk("%s %s =%dmV end\n", __func__,act8846_dcdc_info[i].name, regulator_get_voltage(dcdc)); regulator_put(dcdc); diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c old mode 100644 new mode 100755 index db3dc4b5a501..762450bf2e09 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -1564,6 +1564,7 @@ static struct pmu_info act8846_dcdc_info[] = { .name = "act_dcdc1", //ddr .min_uv = 1200000, .max_uv = 1200000, + .suspend_vol = 1200000, }, { .name = "vdd_core", //logic -- 2.34.1