add CPUFreq support for loongson2f
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lemote-2f: add cs5536 MFGPT timer supportarch/ arch/ arch/ +2 more | +269 | 3 replies | |
| 2/3 | MIPS: add basic options for CPUFreq supportarch/ arch/ | +30 | 0 replies | |
| 3/3 | 2f: add Cpufreq supportarch/ arch/ arch/ +7 more | +462 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -queue 0/3] add CPUFreq support for loongson2f
This patchset add CPUFreq support for loongson2f family machines, to untilize this support, the machines need an external timer to ensure the system timer is normal for the MIPS Timer's frequency is relative to the processor's frequency, without an external timer, the system timer will be "mussy".
Thanks & Regards,
Wu Zhangjin
Wu Zhangjin (3):
[loongson] lemote-2f: add cs5536 MFGPT timer support
MIPS: add basic options for CPUFreq support [loongson] 2f: add Cpufreq support
arch/mips/Kconfig | 3 + arch/mips/include/asm/clock.h | 64 ++++++ .../asm/mach-loongson/cs5536/cs5536_mfgpt.h | 35 +++ arch/mips/include/asm/mach-loongson/loongson.h | 6 +- arch/mips/kernel/Makefile | 2 + arch/mips/kernel/cpu-probe.c | 2 + arch/mips/kernel/cpufreq/Kconfig | 41 ++++ arch/mips/kernel/cpufreq/Makefile | 5 + arch/mips/kernel/cpufreq/loongson2_clock.c | 166 +++++++++++++++ arch/mips/kernel/cpufreq/loongson2_cpufreq.c | 200 ++++++++++++++++++ arch/mips/loongson/Kconfig | 12 +- arch/mips/loongson/common/cs5536/Makefile | 5 + arch/mips/loongson/common/cs5536/cs5536_mfgpt.c | 217 ++++++++++++++++++++ arch/mips/loongson/common/env.c | 3 + arch/mips/loongson/common/time.c | 3 + 15 files changed, 761 insertions(+), 3 deletions(-) create mode 100644 arch/mips/include/asm/clock.h create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536_mfgpt.h create mode 100644 arch/mips/kernel/cpufreq/Kconfig create mode 100644 arch/mips/kernel/cpufreq/Makefile create mode 100644 arch/mips/kernel/cpufreq/loongson2_clock.c create mode 100644 arch/mips/kernel/cpufreq/loongson2_cpufreq.c create mode 100644 arch/mips/loongson/common/cs5536/cs5536_mfgpt.c