From 3bde3f9396ac46e013a426c71b583aaf24940971 Mon Sep 17 00:00:00 2001 From: Jon Benson Date: Tue, 14 Dec 2010 11:37:04 +1100 Subject: [PATCH] Included mdeejay's overclock values even though they aren't stable for me personally. --- arch/arm/mach-msm/Kconfig | 4 ++-- arch/arm/mach-msm/acpuclock-scorpion.c | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index 9ca8b110..5f9c3a72 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig @@ -1082,11 +1082,11 @@ config HTCLEO_OVERCLOCK help add overclock ability to 1.190GHz. config HTCLEO_EXOVERCLOCK - bool "Support overclock to 1.305GHz" + bool "Support overclock to 1.536GHz" depends on HTCLEO_OVERCLOCK default n help - add overclock ability to 1.305GHz. + add overclock ability to 1.536GHz. config HTC_FB_CONSOLE diff --git a/arch/arm/mach-msm/acpuclock-scorpion.c b/arch/arm/mach-msm/acpuclock-scorpion.c index f8b2d604..4fe709d4 100644 --- a/arch/arm/mach-msm/acpuclock-scorpion.c +++ b/arch/arm/mach-msm/acpuclock-scorpion.c @@ -199,6 +199,12 @@ struct clkctl_acpu_speed acpu_freq_tbl[] = { { 1228800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x20, 0, 1325, 128000 }, { 1267200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x21, 0, 1350, 128000 }, { 1305600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x22, 0, 1350, 128000 }, + { 1344000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x23, 0, 1350, 128000 }, + { 1382400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x24, 0, 1350, 128000 }, + { 1420800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x25, 0, 1350, 128000 }, + { 1459200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x26, 0, 1350, 128000 }, + { 1497600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x27, 0, 1350, 128000 }, + { 1536000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x28, 0, 1350, 128000 }, #endif { 0 }, }; @@ -542,7 +548,7 @@ void __init acpu_freq_tbl_fixup(void) case 0x30: case 0x00: #ifdef CONFIG_HTCLEO_EXOVERCLOCK - max_acpu_khz = 1305600; + max_acpu_khz = 1536000; #elif CONFIG_HTCLEO_OVERCLOCK max_acpu_khz = 1190400; #else