--- a/arch/arm/mach-msm/acpuclock-8960.c
+++ b/arch/arm/mach-msm/acpuclock-8960.c
@@ -68,8 +68,8 @@
#define STBY_KHZ 1
-#define MAX_VDD_SC 1400000 /* uV */
-#define MIN_VDD_SC 900000 /* uV */
+#define MAX_VDD_SC CONFIG_CPU_FREQ_MAX_VDD_SC /* uV */
+#define MIN_VDD_SC CONFIG_CPU_FREQ_MIN_VDD_SC /* uV */
#ifdef CONFIG_VDD_USERSPACE
#define HFPLL_NOMINAL_VDD 1050000
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -27,6 +27,16 @@ config CPU_FREQ_MAX_SCALING_LIMIT
depends on CPU_FREQ
default 1900000
+config CPU_FREQ_MAX_VDD_SC
+ int "Max CPU VDD SC uV"
+ depends on CPU_FREQ
+ default 1400000
+
+config CPU_FREQ_MIN_VDD_SC
+ int "Min CPU VDD SC uV"
+ depends on CPU_FREQ
+ default 850000
+
config CPU_FREQ_TABLE
tristate