1. 30 7月, 2013 1 次提交
  2. 18 6月, 2013 1 次提交
  3. 17 6月, 2013 1 次提交
  4. 16 6月, 2013 1 次提交
    • L
      spi: pl022: use pinctrl PM helpers · f1c9cf07
      Linus Walleij 提交于
      This utilize the new pinctrl core PM helpers to transition
      the driver to "sleep" and "idle" states, cutting away some
      boilerplate code.
      
      Cc: Hebbar Gururaja <gururaja.hebbar@ti.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Wolfram Sang <wsa@the-dreams.de>
      Acked-by: NMark Brown <broonie@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f1c9cf07
  5. 28 5月, 2013 1 次提交
  6. 13 3月, 2013 1 次提交
  7. 08 12月, 2012 1 次提交
  8. 23 10月, 2012 1 次提交
    • U
      spi/pl022: Revert recent runtime PM changes · 213d27a4
      Ulf Hansson 提交于
      [Originally sent by Ulf as two changes, squashed down into one with a
      redone changelog, thanks to Russell King for analysis. -- broonie]
      
      This reverts commit 688723 (spi/pl022: enable runtime PM) and commit
      2fb30d (spi/pl022: fix spi-pl022 pm enable at probe).
      
      Commit "spi/pl022: enable runtime PM" introduced runtime PM issues as it
      interacted badly with the work Russell King had done to move core
      runtime PM handling into the bus.  Due to that commit, "spi/pl022: fix
      spi-pl022 pm enable at probe" was merged to fix part of those issues.
      
      Instead of adding another fix, let's clean up and revert everything
      back to when it was already fine.
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      
      Revert "spi/pl022: enable runtime PM"
      
      Conflicts:
      	drivers/spi/spi-pl022.c
      213d27a4
  9. 17 10月, 2012 4 次提交
  10. 28 9月, 2012 2 次提交
  11. 25 9月, 2012 1 次提交
  12. 20 9月, 2012 1 次提交
    • P
      spi/pl022: adopt pinctrl support · 4f5e1b37
      Patrice Chotard 提交于
      Amend the PL022 pin controller to optionally take a pin control
      handle and set the state of the pins to "default" on boot and
      runtime resume, and to "sleep" at runtime suspend. This way we
      will dynamically save power on the SPI busses, for example some
      electronic designs may be able to ground the pins when unused
      instead of pull-up. Some pin controllers may want to set the
      pins as wake-up sources when sleeping.
      
      Effect on platforms using the PL022 driver:
      
      - If the platform does not use pin control - no semantic effect,
        the pinctrl stubs will kick in and resolve the situation.
      
      - Platforms using this driver and have pin control but no
        function defined for the PL022 need to either supply a
        "default" function in their map or enable pinctrl dummies
        so the driver is satisfied.
      
      - Platforms using this driver with hogs for setting up the PL022
        pin control - stop using hogs to take the pl022 pin control
        handle, let the driver handle this.
      
      I'be looked at some platforms that may be affected:
      
      - SPEAr: appears to define the proper functions in their device
        trees and not hogging them, so things should be smooth, the
        driver will simply start to take its pins.
      
      - Ux500: the proper function is defined and will be taken properly
        by the driver. New sleep states introduced by a separate patch to
        ux500 but no regression, since the default state is sufficient.
      
      - U300: old hog deleted as part of this patch.
      
      - LPC32xx: does not appear to be using pinctrl.
      
      - ARM Integrator IMPD1, RealView & Versatile: does not use pinctrl.
      Tested-by: NRoland Stigge <stigge@antcom.de>
      Signed-off-by: NPatrice Chotard <patrice.chotard@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      4f5e1b37
  13. 06 9月, 2012 1 次提交
  14. 23 8月, 2012 3 次提交
  15. 18 8月, 2012 1 次提交
  16. 02 7月, 2012 3 次提交
  17. 28 4月, 2012 2 次提交
  18. 18 4月, 2012 1 次提交
  19. 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
  20. 21 3月, 2012 1 次提交
  21. 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
  22. 22 2月, 2012 1 次提交
  23. 14 2月, 2012 1 次提交
  24. 03 2月, 2012 1 次提交
  25. 02 12月, 2011 7 次提交