Skip to content

Fixups and Cleanups of lemote-2f family machines

Wu Zhangjin linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Remove the inline annotation of prom_init_uart_base()arch/mips/include/asm/mach-loongson/loongson.h arch/mips/loongson/common/uart_base.c+2 -22 replies
2/4yeeloong2f: add basic ec operationsarch/mips/loongson/lemote-2f/Makefile arch/mips/loongson/lemote-2f/ec_kb3310b.c arch/mips/loongson/lemote-2f/ec_kb3310b.h+180 -11 reply
3/4yeeloong2f: add LID open event as the wakeup eventarch/mips/include/asm/mach-loongson/loongson.h arch/mips/loongson/lemote-2f/irq.c arch/mips/loongson/lemote-2f/pm.c+72 -41 reply
4/4yeeloong2f: cleanup the reset logic with ec_write functionarch/mips/loongson/lemote-2f/reset.c+2 -191 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] Fixups and Cleanups of lemote-2f family machines

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