1. 27 2月, 2010 1 次提交
  2. 17 12月, 2009 2 次提交
    • W
      MIPS: Lemote 2F: Add cs5536 MFGPT timer support · 916daba8
      Wu Zhangjin 提交于
      CPUFreq support for Loongson 2F requires an external timer.
      
      Because the frequency of the MIPS Timer is related to the CPU frequency
      which itself is variable another timer of constant frequency is required.
      
      Export the mfgpt0 counter disable / enable operations for the coming
      suspend support to suspend / resume the timer.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: linux-mips@linux-mips.org
      Cc: cpufreq@vger.kernel.org,
      Cc: Dave Jones <davej@redhat.com>,
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>,
      Cc: yanh@lemote.com
      Cc: huhb@lemote.com,
      Patchwork: http://patchwork.linux-mips.org/patch/658/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      916daba8
    • 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