android_kernel_xiaomi_sm8350/arch/mips/loongson/common
Wu Zhangjin f8ede0f700 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>
2009-12-17 01:57:20 +00:00
..
cs5536 MIPS: Lemote 2F: Add cs5536 MFGPT timer support 2009-12-17 01:57:19 +00:00
bonito-irq.c MIPS: Loongson: Add basic Loongson 2F support 2009-12-17 01:57:10 +00:00
cmdline.c MIPS: Loongson: Cleanup machtype support 2009-12-17 01:57:08 +00:00
early_printk.c MIPS: Loongson: Cleanup the serial port support 2009-12-17 01:57:09 +00:00
env.c MIPS: Loongson 2F: Add CPU frequency scaling support 2009-12-17 01:57:20 +00:00
init.c MIPS: Loongson 2F: Cleanup the #if clauses 2009-12-17 01:57:15 +00:00
irq.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
machtype.c MIPS: Lemote 2F: Add Lynloong support 2009-12-17 01:57:18 +00:00
Makefile MIPS: Loongson 2F: Add CPU frequency scaling support 2009-12-17 01:57:20 +00:00
mem.c MIPS: Add support for uncached accelerated mappings. 2009-12-17 01:57:15 +00:00
pci.c MIPS: Loongson 2F: Cleanup the #if clauses 2009-12-17 01:57:15 +00:00
platform.c MIPS: Loongson 2F: Add CPU frequency scaling support 2009-12-17 01:57:20 +00:00
pm.c MIPS: Loongson 2F: Add suspend support framework 2009-12-17 01:57:16 +00:00
reset.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
serial.c MIPS: Lemote 2F: Add Lynloong support 2009-12-17 01:57:18 +00:00
setup.c
time.c MIPS: Lemote 2F: Add cs5536 MFGPT timer support 2009-12-17 01:57:19 +00:00
uart_base.c MIPS: Lemote 2F: Add Lynloong support 2009-12-17 01:57:18 +00:00