diff options
author | Wu Zhangjin | 2009-11-16 18:32:59 +0100 |
---|---|---|
committer | Ralf Baechle | 2009-12-17 02:57:20 +0100 |
commit | f8ede0f700f5478851f242f291d203cde54ca6cf (patch) | |
tree | 37fba17288bcd12468c454eb6c585d72fb6f9770 /arch/mips/kernel/cpufreq/Kconfig | |
parent | MIPS: Add basic CPUFreq options. (diff) | |
download | kernel-qcow2-linux-f8ede0f700f5478851f242f291d203cde54ca6cf.tar.gz kernel-qcow2-linux-f8ede0f700f5478851f242f291d203cde54ca6cf.tar.xz kernel-qcow2-linux-f8ede0f700f5478851f242f291d203cde54ca6cf.zip |
MIPS: Loongson 2F: Add CPU frequency scaling support
Loongson 2F supports CPU clock scaling. When put it into wait mode by
setting the frequency as ZERO it will stay in this mode until an external
interrupt wakes the CPU again.
To enable clock scaling support, an external timer of a known stable rate
is required.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: cpufreq@vger.kernel.org,
Cc: Dave Jones <davej@redhat.com>,
Cc: Dominik Brodowski <linux@dominikbrodowski.net>,
Cc: yanh@lemote.com
Cc: huhb@lemote.com,
Patchwork: http://patchwork.linux-mips.org/patch/660/
Patchwork: http://patchwork.linux-mips.org/patch/751/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpufreq/Kconfig')
-rw-r--r-- | arch/mips/kernel/cpufreq/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpufreq/Kconfig b/arch/mips/kernel/cpufreq/Kconfig index 37983a15dabe..58c601eee6fd 100644 --- a/arch/mips/kernel/cpufreq/Kconfig +++ b/arch/mips/kernel/cpufreq/Kconfig @@ -20,6 +20,20 @@ if CPU_FREQ comment "CPUFreq processor drivers" +config LOONGSON2_CPUFREQ + tristate "Loongson2 CPUFreq Driver" + select CPU_FREQ_TABLE + depends on MIPS_CPUFREQ + help + This option adds a CPUFreq driver for loongson processors which + support software configurable cpu frequency. + + Loongson2F and it's successors support this feature. + + For details, take a look at <file:Documentation/cpu-freq/>. + + If in doubt, say N. + endif # CPU_FREQ endmenu |