Move Min/Max VDD_SC to Kconfig

file:aa3f526012541fb002e2bbb8f404951e02236795 -> file:0e5ac247cfe6d8e5fa895e7cd31d7eb96f8d1933
--- 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
file:60bb9e4cc0407b850a446d5c8a6b498637b0459a -> file:eef3a57aca0a15099d70ae1fb6960decd3b8f2ed
--- 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