android_kernel_xiaomi_sm8350/arch/mips/include/asm/mach-loongson
Wu Zhangjin 916daba8a9 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>
2009-12-17 01:57:19 +00:00
..
cs5536 MIPS: Lemote 2F: Add cs5536 MFGPT timer support 2009-12-17 01:57:19 +00:00
cpu-feature-overrides.h MIPS: Loongson 2: Set cpu_has_dc_aliases and cpu_icache_snoops_remote_store 2009-11-02 12:00:07 +01:00
dma-coherence.h MIPS: Loongson: Add basic Loongson 2F support 2009-12-17 01:57:10 +00:00
loongson.h MIPS: Loongson 2F: Cleanup the #if clauses 2009-12-17 01:57:15 +00:00
machine.h MIPS: Lemote 2F: Add a LEMOTE_MACH2F kernel option 2009-12-17 01:57:11 +00:00
mc146818rtc.h
mem.h MIPS: Loongson: Add basic Loongson 2F support 2009-12-17 01:57:10 +00:00
pci.h MIPS: Loongson 2F: Cleanup the #if clauses 2009-12-17 01:57:15 +00:00
war.h