1. 17 12月, 2009 4 次提交
    • W
      MIPS: Loongson 2F: Add suspend support framework · f181bf60
      Wu Zhangjin 提交于
      This patch add basic suspend support for loongson2f family machines,
      loongson2f have a specific feature: when we set it's frequency to ZERO,
      it will go into a wait mode, and then can be waked up by the external
      interrupt. so, if we setup suitable interrupts before putting it into
      wait mode, we will be able wake it up whenever we want via sending the
      relative interrupts to it.
      
      These interrupts are board-specific, Yeeloong2F use the keyboard
      interrupt and SCI interrupt, but LingLoong and Fuloong2F use the
      interrupts connected to the processors directly. and BTW: some old
      LingLoong and FuLoong2F have no such interrupts connected, so, there is
      no way to wake them up from suspend mode. and therefore, please do not
      enable the kernel support for them.
      
      The board-specific support will be added in the coming patches.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: linux-mips@linux-mips.org
      Cc: yanh@lemote.com
      Cc: huhb@lemote.com
      Cc: Wu Zhangjin <wuzhangjin@gmail.com>
      Cc: Len Brown <len.brown@intel.com>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: linux-pm@lists.linux-foundation.org
      Patchwork: http://patchwork.linux-mips.org/patch/629/Acked-by: NPavel Machek <pavel@ucw.cz>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f181bf60
    • W
      MIPS: Lemote 2F: Add basic CS5536 VSM support · 22c21003
      Wu Zhangjin 提交于
      Lemote Loongson 2F family machines use CS5536 as their south bridge and need
      these lowlevel interfaces to access the devices on CS5536.
      
      Virtualize the legacy devices on CS5536 as PCI devices.  This way users can
      access the CS5536 PCI config space directly as a normal multi-function
      PCI 2.2 device.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: zhangfx@lemote.com
      Cc: yanh@lemote.com 
      Cc: huhb@lemote.com
      Cc: Nicholas Mc Guire <hofrat@hofr.at>
      Cc: Arnaud Patard <apatard@mandriva.com>
      Cc: loongson-dev@googlegroups.com
      Cc: linux-mips@linux-mips.org
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      22c21003
    • W
      MIPS: Lemote 2F: Add a LEMOTE_MACH2F kernel option · 7d32c6dd
      Wu Zhangjin 提交于
      Add a new kernel option for Lemote Loongson 2F family machines.
      
      Lemote loongson2f family machines utilize the 2f revision of loongson
      processor and the AMD CS5536 south bridge.
      
      Family members include Fuloong 2F mini PC, Yeeloong 2F notebook, LingLoong
      all-in-one PC and others.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: zhangfx@lemote.com
      Cc: yanh@lemote.com
      Cc: huhb@lemote.com
      Cc: Nicholas Mc Guire <hofrat@hofr.at>
      Cc: Arnaud Patard <apatard@mandriva.com>
      Cc: loongson-dev@googlegroups.com
      Cc: linux-mips@linux-mips.org
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7d32c6dd
    • W
      MIPS: Fuloong2e: Cleanup Kconfig · f6d4ff02
      Wu Zhangjin 提交于
      Changes indention from whitespace to tabs in arch/mips/loongson/Kconfig.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: Linux-MIPS <linux-mips@linux-mips.org>
      Cc: yanh@lemote.com
      Cc: huhb@lemote.com
      Cc: Zhang Le <r0bertz@gentoo.org>
      Cc: zhangfx@lemote.com
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f6d4ff02
  2. 18 9月, 2009 2 次提交