linux-mips
[Top] [All Lists]

[PATCH 0/5] Lemote-2f: Add Platform Specific Support

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 0/5] Lemote-2f: Add Platform Specific Support
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Fri, 20 Nov 2009 01:32:05 +0800
Cc: linux-mips@linux-mips.org, zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com, Wu Zhangjin <wuzhangjin@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=EqVYvqpDHWIT4sbyaQF0CKwabzH0dIrbmJaMu+rvMkk=; b=QSHorgkalmYTT90hn+8KxqrIFQrnAwaBLza5CDDlbyosUXJu0Ya8pKIksG7J3loBg1 8Su1qRxC/s0V7OGK1cmfHic7YQI+PqxrSz2pPgbZUY512pgKtkBspYwZ8Sxe1+uRn+PG wqi7YQDOVXwLGncJrmZNBFGiq4axpJwR6AJyM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=DBGVjbKHmeKGd0KUE2ruDULZX2NEQh42rXPYDpX8NfYkPd0vtOrCk9zYQUo5Afrwzd DbVd9sSHZVLexQMWHX/IrDdjStcHfgan+fD7uRa7tKfB+1IXO0hsX6+QCPbLuY2Y+gyd Z3gSoOfYg9AyZj2+zQE+I4WbkbP3+0xNRF6D4=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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


<Prev in Thread] Current Thread [Next in Thread>