These patches are mainly fixes/updates for Loongson1B, and moreover, add cpufreq support. Kelvin Cheung (6): MIPS: Loongson1B: Fix reboot problem on LS1B MIPS: Loongson1B: Improve early printk MIPS: Loongson1B: Some fixes/updates for LS1B MIPS: Loongson1B: Add a clockevent/clocksource using PWM Timer clk: ls1x: Update relationship among all clocks cpufreq: Loongson1: Add cpufreq driver for Loongson1B arch/mips/Kconfig | 1 + arch/mips/include/asm/mach-loongson1/cpufreq.h | 23 +++ arch/mips/include/asm/mach-loongson1/loongson1.h | 8 +- arch/mips/include/asm/mach-loongson1/platform.h | 10 +- arch/mips/include/asm/mach-loongson1/regs-clk.h | 23 ++- arch/mips/include/asm/mach-loongson1/regs-mux.h | 67 +++++++ arch/mips/include/asm/mach-loongson1/regs-pwm.h | 29 +++ arch/mips/include/asm/mach-loongson1/regs-wdt.h | 11 +- arch/mips/loongson1/Kconfig | 42 ++++- arch/mips/loongson1/common/Makefile | 2 +- arch/mips/loongson1/common/clock.c | 28 --- arch/mips/loongson1/common/platform.c | 141 ++++++++++++-- arch/mips/loongson1/common/prom.c | 30 ++- arch/mips/loongson1/common/reset.c | 20 +- arch/mips/loongson1/common/time.c | 226 +++++++++++++++++++++++ arch/mips/loongson1/ls1b/board.c | 12 +- drivers/clk/clk-ls1x.c | 109 ++++++++--- drivers/cpufreq/Kconfig | 10 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/ls1x-cpufreq.c | 217 ++++++++++++++++++++++ 20 files changed, 889 insertions(+), 121 deletions(-) create mode 100644 arch/mips/include/asm/mach-loongson1/cpufreq.h create mode 100644 arch/mips/include/asm/mach-loongson1/regs-mux.h create mode 100644 arch/mips/include/asm/mach-loongson1/regs-pwm.h delete mode 100644 arch/mips/loongson1/common/clock.c create mode 100644 arch/mips/loongson1/common/time.c create mode 100644 drivers/cpufreq/ls1x-cpufreq.c -- 1.9.1