1. 13 10月, 2017 1 次提交
    • R
      mfd: rts5249: Add support for RTS5250S power saving · 8275b77a
      Rui Feng 提交于
      Enable power saving for RTS5250S as following steps:
      1.Set 0xFE58 to enable clock power management.
      2.Check cfg space whether support L1SS or not.
      3.If support L1SS, set 0xFF03 to free clkreq.
      4.When entering idle status, enable aspm
        and set parameters for L1SS and LTR.
      5.Wnen entering run status, disable aspm
        and set parameters for L1SS and LTR.
      If entering L1SS mode successfully,
      electric current will be below 2mA.
      Signed-off-by: NRui Feng <rui_feng@realsil.com.cn>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      8275b77a
  2. 05 9月, 2017 1 次提交
  3. 06 7月, 2017 1 次提交
  4. 27 4月, 2017 1 次提交
  5. 07 11月, 2015 1 次提交
    • L
      mfd: avoid newly introduced compiler warning · 4dcee4d8
      Linus Torvalds 提交于
      Commit b158b69a ("mfd: rtsx: Simplify function return logic")
      removed the use of the 'err' variable, but left the variable itself
      around, resulting in gcc quite reasonably warning:
      
          drivers/mfd/rtsx_pcr.c: In function ‘rtsx_pci_set_pull_ctl’:
          drivers/mfd/rtsx_pcr.c:565:6: warning: unused variable ‘err’ [-Wunused-variable]
            int err;
                ^
      
      Get rid of the unused variable, and avoid the new warning.
      
      Cc: Javier Martinez Canillas <javier@osg.samsung.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4dcee4d8
  6. 31 10月, 2015 2 次提交
  7. 04 3月, 2015 4 次提交
  8. 10 11月, 2014 1 次提交
  9. 26 9月, 2014 1 次提交
  10. 09 7月, 2014 1 次提交
  11. 08 5月, 2014 1 次提交
  12. 23 2月, 2014 1 次提交
    • M
      mmc: rtsx: add support for pre_req and post_req · c42deffd
      Micky Ching 提交于
      Add support for non-blocking request, pre_req() runs dma_map_sg() and
      post_req() runs dma_unmap_sg(). This patch can increase card read/write
      speed, especially for high speed card and slow CPU(for some embedded
      platform).
      
      Users can get a great benefit from this patch. if CPU frequency is 800MHz,
      SDR104 or DDR50 card read/write speed may increase more than 15%.
      
      test results:
      intel i3(800MHz - 2.3GHz), SD card clock 208MHz
      
      performance mode(2.3GHz):
      Before:
      dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
      67108864 bytes (67 MB) copied, 1.18191 s, 56.8 MB/s
      After:
       dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
      67108864 bytes (67 MB) copied, 1.09276 s, 61.4 MB/s
      
      powersave mode(800MHz):
      Before:
      dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
      67108864 bytes (67 MB) copied, 1.29569 s, 51.8 MB/s
      After:
      dd if=/dev/mmcblk0p1 of=/dev/null bs=64k count=1024
      67108864 bytes (67 MB) copied, 1.11218 s, 60.3 MB/s
      Signed-off-by: NMicky Ching <micky_ching@realsil.com.cn>
      Signed-off-by: NChris Ball <chris@printf.net>
      c42deffd
  13. 21 1月, 2014 2 次提交
  14. 10 12月, 2013 1 次提交
  15. 23 10月, 2013 1 次提交
  16. 20 8月, 2013 5 次提交
  17. 12 6月, 2013 1 次提交
  18. 20 4月, 2013 1 次提交
  19. 06 4月, 2013 1 次提交
    • J
      MFD: rtsx_pcr: Fix probe fail path · 9d66b568
      Jiri Slaby 提交于
      When rtsx_pci_acquire_irq fails in rtsx_pci_probe, we forget to
      disable an MSI (if we enabled it). This results in this warning on the
      next attempt to load the module:
      WARNING: at drivers/pci/msi.c:834 pci_enable_msi_block+0x2a4/0x2b0()
      Hardware name: HP EliteBook 840 G1
      Modules linked in: rtsx_pci(+) ...
      Pid: 4056, comm: modprobe Tainted: G          I  3.8.0-9405-gd895cb1a-1-vanilla #1
      Call Trace:
       [<ffffffff81045c6a>] warn_slowpath_common+0x7a/0xc0
       [<ffffffff81045cc5>] warn_slowpath_null+0x15/0x20
       [<ffffffff81302544>] pci_enable_msi_block+0x2a4/0x2b0
       [<ffffffffa05e335a>] rtsx_pci_probe+0x55a/0x720 [rtsx_pci]
      ...
      
      So properly disable MSI in that case.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      9d66b568
  20. 28 2月, 2013 1 次提交
  21. 14 2月, 2013 7 次提交
  22. 27 1月, 2013 3 次提交
  23. 04 1月, 2013 1 次提交
    • G
      Drivers: mfd: remove __dev* attributes. · 612b95cd
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      612b95cd