projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e0459
)
rk3026: cpufreq: suspend voltage set to 1.1v
author
黄涛
<huangtao@rock-chips.com>
Wed, 31 Jul 2013 06:47:57 +0000
(14:47 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 31 Jul 2013 06:48:39 +0000
(14:48 +0800)
arch/arm/mach-rk3188/cpufreq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/cpufreq.c
b/arch/arm/mach-rk3188/cpufreq.c
index c8c59423fac0132c150058f095dd8f90648c7788..a25fcb7bca0a6f8fa728a0f3b93fa54dafd56c43 100644
(file)
--- a/
arch/arm/mach-rk3188/cpufreq.c
+++ b/
arch/arm/mach-rk3188/cpufreq.c
@@
-67,7
+67,11
@@
static struct cpufreq_frequency_table *freq_table = default_freq_table;
#define CPUFREQ_PRIVATE 0x100
static int no_cpufreq_access;
static unsigned int suspend_freq = 816 * 1000;
+#if defined(CONFIG_ARCH_RK3026)
+static unsigned int suspend_volt = 1100000; // 1.1V
+#else
static unsigned int suspend_volt = 1000000; // 1V
+#endif
static unsigned int low_battery_freq = 600 * 1000;
static unsigned int low_battery_capacity = 5; // 5%
static bool is_booting = true;