This patchset includes the following changes:
- [loongson] Remove the inline annotation of prom_init_uart_base()
Ensure gcc 3.4.6 can compile it.
- [loongson] yeeloong2f: add basic ec operations
add basic support for the Embedded Controller(ec_kb3310b) of yeeloong2f
netbook.
This support is needed for the coming yeeloong2f platform drivers.
- [loongson] yeeloong2f: add LID open event as the wakeup event
Allow users wakeup the netbook from suspend mode via opening the LID.
- [loongson] yeeloong2f: cleanup the reset logic with ec_write function
Benefit from "[loongson] yeeloong2f: add basic ec operations",
we can use the cleanup the old reset implementaion now.
All of the above updates have been tested and put into this branch:
git://dev.lemote.com/rt4ls.git linux-loongson/dev/for-upstream
Hi, Ralf, Could you please queue it for linux-2.6.33? Thanks!
Best Wishes,
Wu Zhangjin
Wu Zhangjin (4):
[loongson] Remove the inline annotation of prom_init_uart_base()
[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
arch/mips/include/asm/mach-loongson/loongson.h | 3 +-
arch/mips/loongson/common/uart_base.c | 2 +-
arch/mips/loongson/lemote-2f/Makefile | 2 +-
arch/mips/loongson/lemote-2f/ec_kb3310b.c | 132 ++++++++++++++++++++++++
arch/mips/loongson/lemote-2f/ec_kb3310b.h | 47 +++++++++
arch/mips/loongson/lemote-2f/irq.c | 4 +-
arch/mips/loongson/lemote-2f/pm.c | 71 ++++++++++++-
arch/mips/loongson/lemote-2f/reset.c | 21 +----
8 files changed, 256 insertions(+), 26 deletions(-)
create mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.c
create mode 100644 arch/mips/loongson/lemote-2f/ec_kb3310b.h
|