From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> This patchset adds platform specific drivers for YeeLoong. Changes from the v4 revision: - Split the drivers into its own module - Incorporates with the feedback of the Input(hotkey) driver from Dmitry Torokhov. - Cleanups and fixups Wu Zhangjin (8): Loongson: Lemote-2F: add platform specific submenu Loongson: YeeLoong: add platform specific option Loongson: YeeLoong: add backlight driver Loongson: YeeLoong: add battery driver Loongson: YeeLoong: add hwmon driver Loongson: YeeLoong: add video output driver Loongson: YeeLoong: add suspend driver Loongson: YeeLoong: add hotkey driver arch/mips/kernel/setup.c | 1 + arch/mips/loongson/Kconfig | 21 + arch/mips/loongson/lemote-2f/Makefile | 7 +- arch/mips/loongson/lemote-2f/ec_kb3310b.c | 130 ------ arch/mips/loongson/lemote-2f/ec_kb3310b.h | 188 -------- arch/mips/loongson/lemote-2f/pm.c | 4 +- arch/mips/loongson/lemote-2f/reset.c | 2 +- .../loongson/lemote-2f/yeeloong_laptop/Kconfig | 69 +++ .../loongson/lemote-2f/yeeloong_laptop/Makefile | 10 + .../loongson/lemote-2f/yeeloong_laptop/backlight.c | 93 ++++ .../loongson/lemote-2f/yeeloong_laptop/battery.c | 127 ++++++ .../lemote-2f/yeeloong_laptop/ec_kb3310b.c | 126 ++++++ .../lemote-2f/yeeloong_laptop/ec_kb3310b.h | 194 ++++++++ .../loongson/lemote-2f/yeeloong_laptop/hotkey.c | 468 ++++++++++++++++++++ .../loongson/lemote-2f/yeeloong_laptop/hwmon.c | 241 ++++++++++ .../loongson/lemote-2f/yeeloong_laptop/suspend.c | 141 ++++++ .../lemote-2f/yeeloong_laptop/video_output.c | 164 +++++++ 17 files changed, 1664 insertions(+), 322 deletions(-) delete mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.c delete mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.h create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/Makefile create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/backlight.c create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/battery.c create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/ec_kb3310b.c create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/ec_kb3310b.h create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/hotkey.c create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/hwmon.c create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/suspend.c create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/video_output.c