1. 23 8月, 2012 3 次提交
  2. 02 7月, 2012 3 次提交
  3. 28 4月, 2012 2 次提交
  4. 18 4月, 2012 1 次提交
  5. 13 4月, 2012 1 次提交
    • M
      ARM: 7366/3: amba: Remove AMBA level regulator support · 1e45860f
      Mark Brown 提交于
      The AMBA bus regulator support is being used to model on/off switches
      for power domains which isn't terribly idiomatic for modern kernels with
      the generic power domain code and creates integration problems on platforms
      which don't use regulators for their power domains as it's hard to tell
      the difference between a regulator that is needed but failed to be provided
      and one that isn't supposed to be there (though DT does make that easier).
      
      Platforms that wish to use the regulator API to manage their power domains
      can indirect via the power domain interface.
      
      This feature is only used with the vape supply of the db8500 PRCMU
      driver which supplies the UARTs and MMC controllers, none of which have
      support for managing vcore at runtime in mainline (only pl022 SPI
      controller does).  Update that supply to have an always_on constraint
      until the power domain support for the system is updated so that it is
      enabled for these users, this is likely to have no impact on practical
      systems as probably at least one of these devices will be active and
      cause AMBA to hold the supply on anyway.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1e45860f
  6. 21 3月, 2012 1 次提交
  7. 08 3月, 2012 1 次提交
    • L
      spi: create a message queueing infrastructure · ffbbdd21
      Linus Walleij 提交于
      This rips the message queue in the PL022 driver out and pushes
      it into (optional) common infrastructure. Drivers that want to
      use the message pumping thread will need to define the new
      per-messags transfer methods and leave the deprecated transfer()
      method as NULL.
      
      Most of the design is described in the documentation changes that
      are included in this patch.
      
      Since there is a queue that need to be stopped when the system
      is suspending/resuming, two new calls are implemented for the
      device drivers to call in their suspend()/resume() functions:
      spi_master_suspend() and spi_master_resume().
      
      ChangeLog v1->v2:
      - Remove Kconfig entry and do not make the queue support optional
        at all, instead be more agressive and have it as part of the
        compulsory infrastructure.
      - If the .transfer() method is implemented, delete print a small
        deprecation notice and do not start the transfer pump.
      - Fix a bitrotted comment.
      ChangeLog v2->v3:
      - Fix up a problematic sequence courtesy of Chris Blair.
      - Stop rather than destroy the queue on suspend() courtesy of
        Chris Blair.
      Signed-off-by: NChris Blair <chris.blair@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      ffbbdd21
  8. 22 2月, 2012 1 次提交
  9. 14 2月, 2012 1 次提交
  10. 03 2月, 2012 1 次提交
  11. 02 12月, 2011 7 次提交
  12. 22 11月, 2011 1 次提交
  13. 09 11月, 2011 1 次提交
  14. 31 10月, 2011 1 次提交
  15. 27 9月, 2011 1 次提交
  16. 22 9月, 2011 2 次提交
    • P
      ARM: 7079/1: spi: Fix builderror in spi-pl022.c · 6cfa6279
      Peter Hüwe 提交于
      This patch fixes a build error, introduced by commit (67fc8b9f, "PM: add
      runtime PM support to core Primecell driver") which unfortunately was a little
      bit incomplete and did contain a typo (11 instead of 22).
      I'm not sure how this patch could have been tested back then, if it
      doesn't even compile ;)
      
      The build failure was:
      drivers/spi/spi-pl022.c:2292: error: 'adev' undeclared (first use in
      this function)
      drivers/spi/spi-pl022.c:2344: error: 'pl022_suspend' undeclared here
      (not in a function)
      
      The build failure appears e.g. for the u8500 and realview defconfig.
      Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6cfa6279
    • R
      PM: add runtime PM support to core Primecell driver · 92b97f0a
      Russell King 提交于
      Add runtime PM support to the core Primecell driver, following the PCI
      model of how this is done.
      
      Rather than having every driver fiddle about with enabling runtime PM,
      that's dealt with in the core and instead, drivers just do a put() in
      their probe and a balancing get() in their remove function to activate
      runtime PM for the device.
      
      As we're dealing with enabling runtime PM in the core, fix up spi-pl022
      as it must not enable and disable runtime PM itself anymore.
      Tested-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      92b97f0a
  17. 21 9月, 2011 5 次提交
  18. 02 8月, 2011 1 次提交
  19. 16 6月, 2011 3 次提交
  20. 06 6月, 2011 1 次提交
  21. 20 5月, 2011 2 次提交