This patchset add the platform specific support for LynLoong2F(ALLINONE) PC and
YeeLoong2F netbook. and also, a cleanup and update for YeeLoong2F is added.
o [loongson] LynLoong2F: Add Platform Specific Support
Add the backlight and suspend support for LynLoong2F.
o [loongson] yeeloong2f: add basic ec operations
[loongson] yeeloong2f: add platform specific support
Add the support for YeeLoong2F's Embedded Controller and cleanup the reset
logic with the ec operations. the following yeeloong2f patches need this ec
support.
o [loongson] yeeloong2f: add platform specific support
Add the backlight,hwmon,hotkey,thermal,battery,suspend support for
YeeLoong2F.
o [loongson] yeeloong2f: add LID open event as the wakeup event
Setup a new wakeup interrupt for YeeLoong2F to allow user wakeup the
netbook from suspend mode via opening the netbook.
All of the above updates have been put into this branch:
git://dev.lemote.com/rt4ls.git linux-loongson/dev/for-upstream
Thanks & Best Regards,
Wu Zhangjin
Wu Zhangjin (5):
[loongson] LynLoong2F: Add Platform Specific Support
[loongson] yeeloong2f: add basic ec operations
[loongson] yeeloong2f: add LID open event as the wakeup event
[loongson] yeeloong2f: cleanup the reset logic with ec_write function
[loongson] yeeloong2f: add platform specific support
.../mips/include/asm/mach-loongson/cs5536/cs5536.h | 35 +
.../asm/mach-loongson/cs5536/cs5536_mfgpt.h | 5 +
arch/mips/include/asm/mach-loongson/loongson.h | 1 +
arch/mips/kernel/setup.c | 1 +
arch/mips/loongson/Kconfig | 53 +
arch/mips/loongson/common/cmdline.c | 10 +
arch/mips/loongson/lemote-2f/Makefile | 8 +-
arch/mips/loongson/lemote-2f/ec_kb3310b.c | 132 ++
arch/mips/loongson/lemote-2f/ec_kb3310b.h | 197 +++
arch/mips/loongson/lemote-2f/irq.c | 4 +-
arch/mips/loongson/lemote-2f/lynloong_pc.c | 609 +++++++++
arch/mips/loongson/lemote-2f/pm.c | 72 +
arch/mips/loongson/lemote-2f/reset.c | 21 +-
arch/mips/loongson/lemote-2f/yeeloong_laptop.c | 1354 ++++++++++++++++++++
14 files changed, 2481 insertions(+), 21 deletions(-)
create mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.c
create mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.h
create mode 100644 arch/mips/loongson/lemote-2f/lynloong_pc.c
create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop.c
|