diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2009-11-16 12:32:57 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-12-16 20:57:19 -0500 |
commit | 916daba8a9f2617ded8b9255e6b39f066ef60178 (patch) | |
tree | 63aa70b44e483bc30154130707e4d7529493543c /arch/mips/loongson/Kconfig | |
parent | 6e552c9b3aa7ba3be57b9569ec92a38af5c65e48 (diff) |
MIPS: Lemote 2F: Add cs5536 MFGPT timer support
CPUFreq support for Loongson 2F requires an external timer.
Because the frequency of the MIPS Timer is related to the CPU frequency
which itself is variable another timer of constant frequency is required.
Export the mfgpt0 counter disable / enable operations for the coming
suspend support to suspend / resume the timer.
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/658/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/loongson/Kconfig')
-rw-r--r-- | arch/mips/loongson/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig index 17e72fde908c..8b5cc138611a 100644 --- a/arch/mips/loongson/Kconfig +++ b/arch/mips/loongson/Kconfig | |||
@@ -62,6 +62,17 @@ endchoice | |||
62 | config CS5536 | 62 | config CS5536 |
63 | bool | 63 | bool |
64 | 64 | ||
65 | config CS5536_MFGPT | ||
66 | bool "CS5536 MFGPT Timer" | ||
67 | depends on CS5536 | ||
68 | help | ||
69 | This option enables the mfgpt0 timer of AMD CS5536. | ||
70 | |||
71 | If you want to enable the Loongson2 CPUFreq Driver, Please enable | ||
72 | this option at first, otherwise, You will get wrong system time. | ||
73 | |||
74 | If unsure, say Yes. | ||
75 | |||
65 | config LOONGSON_SUSPEND | 76 | config LOONGSON_SUSPEND |
66 | bool | 77 | bool |
67 | default y | 78 | default y |