Permalink
Browse files

Added overclock frequencies plus defconfig cleanup

  • Loading branch information...
1 parent 9c222f5 commit d5cc68b0ad9b9ed05b9bccce80b2508ec0e1887b @omegamoon committed Aug 20, 2012
Showing with 49 additions and 37 deletions.
  1. +9 −9 .config
  2. +40 −28 arch/arm/mach-msm/acpuclock-7201.c
View
18 .config
@@ -36,7 +36,7 @@ CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
-CONFIG_LOCALVERSION="$(KERNEL_LOCAL_VERSION)-omegamoon"
+CONFIG_LOCALVERSION="$(KERNEL_LOCAL_VERSION)-omegamoon-20120820"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
@@ -941,7 +941,7 @@ CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y
-CONFIG_CFG80211=m
+CONFIG_CFG80211=y
CONFIG_NL80211_TESTMODE=y
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
@@ -1342,11 +1342,11 @@ CONFIG_HUAWEI_MELFAS_TOUCHSCREEN=y
CONFIG_HUAWEI_FEATURE_INPUT_ACCELEROMETER=y
# CONFIG_HUAWEI_FEATURE_ACCELEROMETER_ADXL345 is not set
# CONFIG_HUAWEI_FEATURE_ACCELEROMETER_ST_L1S35DE is not set
-CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_MMA8452=y
+# CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_MMA8452 is not set
# CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_BOSCH_BMA250 is not set
CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_ADI_ADXL346=y
CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_ST_LIS3XH=y
-CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_KXTIK1004=y
+# CONFIG_HUAWEI_FEATURE_SENSORS_ACCELEROMETER_KXTIK1004 is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_ATI_REMOTE is not set
@@ -1364,7 +1364,7 @@ CONFIG_INPUT_GPIO=y
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_BOSCH_BMA150 is not set
-CONFIG_HUAWEI_FEATURE_PROXIMITY_EVERLIGHT_APS_12D=y
+# CONFIG_HUAWEI_FEATURE_PROXIMITY_EVERLIGHT_APS_12D is not set
CONFIG_HUAWEI_FEATURE_PROXIMITY_EVERLIGHT_APS_9900=y
#
@@ -1855,11 +1855,11 @@ CONFIG_MSM_CAMERA=y
# Camera Sensor Selection
#
CONFIG_HUAWEI_CAMERA=y
-CONFIG_HUAWEI_CAMERA_SENSOR_S5K5CA=y
-CONFIG_HUAWEI_CAMERA_SENSOR_MT9T113=y
+# CONFIG_HUAWEI_CAMERA_SENSOR_S5K5CA is not set
+# CONFIG_HUAWEI_CAMERA_SENSOR_MT9T113 is not set
# CONFIG_MT9T013 is not set
# CONFIG_HUAWEI_CAMERA_SENSOR_MT9D113 is not set
-CONFIG_HUAWEI_CAMERA_SENSOR_MT9V113=y
+# CONFIG_HUAWEI_CAMERA_SENSOR_MT9V113 is not set
# CONFIG_MT9D112 is not set
# CONFIG_HUAWEI_SENSOR_HI701 is not set
# CONFIG_HUAWEI_SENSOR_OV7690 is not set
@@ -2406,7 +2406,7 @@ CONFIG_HUAWEI_LEDS_PMIC=y
# CONFIG_HUAWEI_FEATURE_PTT_KEY_LIGHT is not set
CONFIG_HUAWEI_FEATURE_RGB_KEY_LIGHT=y
# CONFIG_NFC_DEVICES is not set
-CONFIG_HUAWEI_NFC_PN544=y
+# CONFIG_HUAWEI_NFC_PN544 is not set
CONFIG_SWITCH=y
CONFIG_SWITCH_GPIO=y
# CONFIG_ACCESSIBILITY is not set
View
68 arch/arm/mach-msm/acpuclock-7201.c 100644 → 100755
@@ -191,7 +191,7 @@ static struct clkctl_acpu_speed pll0_960_pll1_245_pll2_1200_pll4_800[] = {
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
{ 0, 400000, ACPU_PLL_4, 6, 1, 50000, 3, 4, 122880 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 800000, ACPU_PLL_4, 6, 0, 100000, 3, 7, 200000 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
@@ -206,32 +206,44 @@ static struct clkctl_acpu_speed pll0_960_pll1_196_pll2_1200_pll4_800[] = {
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 120000 },
{ 0, 400000, ACPU_PLL_4, 6, 1, 50000, 3, 4, 120000 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 120000 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 800000, ACPU_PLL_4, 6, 0, 100000, 3, 7, 200000 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
/* 7627aa PLL4 @ 1008MHz with GSM capable modem */
static struct clkctl_acpu_speed pll0_960_pll1_245_pll2_1200_pll4_1008[] = {
- { 0, 19200, ACPU_PLL_TCXO, 0, 0, 2400, 3, 0, 30720 },
- { 0, 61440, ACPU_PLL_1, 1, 3, 7680, 3, 1, 61440 },
- { 1, 122880, ACPU_PLL_1, 1, 1, 15360, 3, 2, 61440 },
- { 1, 245760, ACPU_PLL_1, 1, 0, 30720, 3, 3, 61440 },
- { 0, 300000, ACPU_PLL_2, 2, 3, 37500, 3, 4, 150000 },
- { 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
- { 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
- { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 200000 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
- { 1, 1008000, ACPU_PLL_4, 6, 0, 126000, 3, 7, 200000},
+// Id CPU-KHz PLL SEL DIV AHB-KHz ADIV VDD AXI-KHz
+ { 0, 19200, ACPU_PLL_TCXO, 0, 0, 2400, 3, 0, 30720 },
+ { 0, 61440, ACPU_PLL_1, 1, 3, 7680, 3, 1, 61440 },
+ { 1, 122880, ACPU_PLL_1, 1, 1, 15360, 3, 2, 61440 },
+ { 1, 245760, ACPU_PLL_1, 1, 0, 30720, 3, 3, 61440 },
+ { 0, 300000, ACPU_PLL_2, 2, 3, 37500, 3, 4, 150000 },
+ { 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
+ { 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
+ { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 160000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
+ { 1, 1008000, ACPU_PLL_4, 6, 0, 126000, 3, 7, 200000 },
#ifdef CONFIG_MSM7X27AA_OVERCLOCK
- { 1, 1036800, ACPU_PLL_4, 6, 0, 129600, 3, 7, 200000 },
- { 1, 1056000, ACPU_PLL_4, 6, 0, 132000, 3, 7, 200000 },
- { 1, 1113600, ACPU_PLL_4, 6, 0, 139200, 3, 7, 200000 },
- { 1, 1152000, ACPU_PLL_4, 6, 0, 144000, 3, 7, 200000 },
- { 1, 1190400, ACPU_PLL_4, 6, 0, 148800, 3, 7, 200000 },
- { 1, 1228800, ACPU_PLL_4, 6, 0, 153600, 3, 7, 200000 },
- { 1, 1267200, ACPU_PLL_4, 6, 0, 158400, 3, 7, 200000 },
- { 1, 1305600, ACPU_PLL_4, 6, 0, 163200, 3, 7, 200000 },
+ { 1, 1036800, ACPU_PLL_4, 6, 0, 129600, 3, 7, 200000 },
+ { 1, 1056000, ACPU_PLL_4, 6, 0, 132000, 3, 7, 200000 },
+ { 1, 1113600, ACPU_PLL_4, 6, 0, 139200, 3, 7, 200000 },
+ { 1, 1152000, ACPU_PLL_4, 6, 0, 144000, 3, 7, 200000 },
+ { 1, 1190400, ACPU_PLL_4, 6, 0, 148800, 3, 7, 200000 },
+ { 1, 1228800, ACPU_PLL_4, 6, 0, 153600, 3, 7, 200000 },
+ { 1, 1267200, ACPU_PLL_4, 6, 0, 158400, 3, 7, 200000 },
+ { 1, 1305600, ACPU_PLL_4, 6, 0, 163200, 3, 7, 200000 },
+ // Up to 1.3GHz is stable but... Let's go bananas!!
+ { 1, 1310720, ACPU_PLL_4, 6, 0, 163840, 3, 7, 200000 },
+ { 1, 1324800, ACPU_PLL_4, 6, 0, 165600, 3, 7, 200000 },
+ /*
+ { 1, 1344000, ACPU_PLL_4, 6, 0, 168000, 3, 7, 200000 },
+ { 1, 1382400, ACPU_PLL_4, 6, 0, 172800, 3, 7, 200000 },
+ { 1, 1420800, ACPU_PLL_4, 6, 0, 177600, 3, 7, 200000 },
+ { 1, 1459200, ACPU_PLL_4, 6, 0, 182400, 3, 7, 200000 },
+ { 1, 1497600, ACPU_PLL_4, 6, 0, 187200, 3, 7, 200000 },
+ { 1, 1536000, ACPU_PLL_4, 6, 0, 192000, 3, 7, 200000 },
+ */
#endif
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
@@ -245,8 +257,8 @@ static struct clkctl_acpu_speed pll0_960_pll1_196_pll2_1200_pll4_1008[] = {
{ 0, 300000, ACPU_PLL_2, 2, 3, 37500, 3, 4, 150000 },
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
- { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 200000 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 160000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 1008000, ACPU_PLL_4, 6, 0, 126000, 3, 7, 200000},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
@@ -275,7 +287,7 @@ static struct clkctl_acpu_speed pll0_960_pll1_737_pll2_1200_pll4_800[] = {
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
{ 0, 400000, ACPU_PLL_4, 6, 1, 50000, 3, 4, 122880 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 800000, ACPU_PLL_4, 6, 0, 100000, 3, 7, 200000 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
@@ -290,7 +302,7 @@ static struct clkctl_acpu_speed pll0_960_pll1_589_pll2_1200_pll4_800[] = {
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 120000 },
{ 0, 400000, ACPU_PLL_4, 6, 1, 50000, 3, 4, 120000 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 120000 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 800000, ACPU_PLL_4, 6, 0, 100000, 3, 7, 200000 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
@@ -304,8 +316,8 @@ static struct clkctl_acpu_speed pll0_960_pll1_737_pll2_1200_pll4_1008[] = {
{ 0, 300000, ACPU_PLL_2, 2, 3, 37500, 3, 4, 150000 },
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
- { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 200000 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 160000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 1008000, ACPU_PLL_4, 6, 0, 126000, 3, 7, 200000},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};
@@ -319,8 +331,8 @@ static struct clkctl_acpu_speed pll0_960_pll1_589_pll2_1200_pll4_1008[] = {
{ 0, 300000, ACPU_PLL_2, 2, 3, 37500, 3, 4, 150000 },
{ 1, 320000, ACPU_PLL_0, 4, 2, 40000, 3, 4, 122880 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 60000, 3, 5, 122880 },
- { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 200000 },
- { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 200000 },
+ { 0, 504000, ACPU_PLL_4, 6, 1, 63000, 3, 6, 160000 },
+ { 1, 600000, ACPU_PLL_2, 2, 1, 75000, 3, 6, 160000 },
{ 1, 1008000, ACPU_PLL_4, 6, 0, 126000, 3, 7, 200000},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}, {0, 0, 0, 0} }
};

0 comments on commit d5cc68b

Please sign in to comment.