On Sun, 2010-01-31 at 20:15 +0800, Wu Zhangjin wrote: > From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> (ooh, just re-generate the patchset with "git format-patch" but forgot to put the comments, here it is!) This patchset adds several platform specific drivers for the YeeLoong netbook made by Lemote. It is completely based on the v10 revision and with the following changes: O Rebased on the latest linux-queue git tree of Ralf. O Split the EC revision related handling out of the "input/hotkey" driver. O Rewrite the AC & Battery driver with the new power_supply interface as "Pavel Machek" suggested. All of them have been tested again. Best Regards, Wu Zhangjin > > Wu Zhangjin (9): > MIPS: add subdirectory for platform extension drivers > Loongson: YeeLoong: add platform driver > Loongson: YeeLoong: add backlight driver > Loongson: YeeLoong: add hardware monitoring driver > Loongson: YeeLoong: add video output driver > Loongson: YeeLoong: add suspend support > Loongson: YeeLoong: add input/hotkey driver > Loongson: YeeLoong: Co-operate with the revisions of EC > Loongson: YeeLoong: add power_supply based battery driver > > arch/mips/include/asm/mach-loongson/ec_kb3310b.h | 188 ++++ > arch/mips/include/asm/mach-loongson/loongson.h | 6 + > arch/mips/loongson/common/cmdline.c | 8 + > arch/mips/loongson/lemote-2f/Makefile | 2 +- > arch/mips/loongson/lemote-2f/ec_kb3310b.c | 12 +- > arch/mips/loongson/lemote-2f/ec_kb3310b.h | 188 ---- > arch/mips/loongson/lemote-2f/platform.c | 39 + > arch/mips/loongson/lemote-2f/pm.c | 4 +- > arch/mips/loongson/lemote-2f/reset.c | 2 +- > drivers/platform/Kconfig | 4 + > drivers/platform/Makefile | 1 + > drivers/platform/mips/Kconfig | 32 + > drivers/platform/mips/Makefile | 5 + > drivers/platform/mips/yeeloong_laptop.c | 1192 ++++++++++++++++++++++ > 14 files changed, 1483 insertions(+), 200 deletions(-) > create mode 100644 arch/mips/include/asm/mach-loongson/ec_kb3310b.h > delete mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.h > create mode 100644 arch/mips/loongson/lemote-2f/platform.c > create mode 100644 drivers/platform/mips/Kconfig > create mode 100644 drivers/platform/mips/Makefile > create mode 100644 drivers/platform/mips/yeeloong_laptop.c >