aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson/Kconfig
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2009-11-16 12:32:59 -0500
committerRalf Baechle <ralf@linux-mips.org>2009-12-16 20:57:20 -0500
commitf8ede0f700f5478851f242f291d203cde54ca6cf (patch)
tree37fba17288bcd12468c454eb6c585d72fb6f9770 /arch/mips/loongson/Kconfig
parent9726b43a4d7aaa5b30f559e78768aeb3d17bc224 (diff)
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/loongson/Kconfig')
-rw-r--r--arch/mips/loongson/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig
index 8b5cc138611a..7a86987b478f 100644
--- a/arch/mips/loongson/Kconfig
+++ b/arch/mips/loongson/Kconfig
@@ -34,10 +34,10 @@ config LEMOTE_MACH2F
34 select ARCH_SPARSEMEM_ENABLE 34 select ARCH_SPARSEMEM_ENABLE
35 select BOARD_SCACHE 35 select BOARD_SCACHE
36 select BOOT_ELF32 36 select BOOT_ELF32
37 select CEVT_R4K 37 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
38 select CPU_HAS_WB 38 select CPU_HAS_WB
39 select CS5536 39 select CS5536
40 select CSRC_R4K 40 select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
41 select DMA_NONCOHERENT 41 select DMA_NONCOHERENT
42 select GENERIC_HARDIRQS_NO__DO_IRQ 42 select GENERIC_HARDIRQS_NO__DO_IRQ
43 select GENERIC_ISA_DMA_SUPPORT_BROKEN 43 select GENERIC_ISA_DMA_SUPPORT_BROKEN
@@ -65,6 +65,7 @@ config CS5536
65config CS5536_MFGPT 65config CS5536_MFGPT
66 bool "CS5536 MFGPT Timer" 66 bool "CS5536 MFGPT Timer"
67 depends on CS5536 67 depends on CS5536
68 select MIPS_EXTERNAL_TIMER
68 help 69 help
69 This option enables the mfgpt0 timer of AMD CS5536. 70 This option enables the mfgpt0 timer of AMD CS5536.
70 71