From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> This patchset adds platform specific drivers for YeeLoong netbook. including the backlight, battery, hwmon, video output, suspend and hotkey(input) subdrivers. These drivers provide standard interfaces to the user-space applications to manage the related devices. This v8 revision incorporates with the feedbacks from Pavel Machek, add the cleanups of the hwmon, video output and input/hotkey drivers. Hi, Ralf and Andrew Morton Could you please queue this patchset for 2.6.33? of course, any new feedbacks are welcome, thanks! Best Regards, Wu Zhangjin Wu Zhangjin (8): MIPS: add subdirectory for platform extension drivers Loongson: YeeLoong: add platform driver Loongson: YeeLoong: add backlight driver Loongson: YeeLoong: add battery driver Loongson: YeeLoong: add hardware monitoring driver Loongson: YeeLoong: add video output driver Loongson: YeeLoong: add suspend support Loongson: YeeLoong: add input/hotkey driver arch/mips/include/asm/mach-loongson/ec_kb3310b.h | 191 ++++ 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 | 40 + 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 | 33 + drivers/platform/mips/Makefile | 5 + drivers/platform/mips/yeeloong_laptop.c | 1038 ++++++++++++++++++++++ 14 files changed, 1334 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