1. 01 6月, 2015 20 次提交
  2. 25 5月, 2015 1 次提交
  3. 04 5月, 2015 1 次提交
  4. 17 4月, 2015 2 次提交
  5. 02 4月, 2015 1 次提交
  6. 31 3月, 2015 1 次提交
    • U
      mmc: core: Enable runtime PM management of host devices · 9250aea7
      Ulf Hansson 提交于
      Currently those host drivers which have deployed runtime PM, deals with
      the runtime PM reference counting entirely by themselves.
      
      Since host drivers don't know when the core will send the next request
      through some of the host_ops callbacks, they need to handle runtime PM
      get/put between each an every request.
      
      In quite many cases this has some negative effects, since it leads to a
      high frequency of scheduled runtime PM suspend operations. That due to
      the runtime PM reference count will normally reach zero in-between
      every request.
      
      We can decrease that frequency, by enabling the core to deal with
      runtime PM reference counting of the host device. Since the core often
      knows that it will send a seqeunce of requests, it makes sense for it
      to keep a runtime PM reference count during these periods.
      
      More exactly, let's increase the runtime PM reference count by invoking
      pm_runtime_get_sync() from __mmc_claim_host(). Restore that action by
      invoking pm_runtime_mark_last_busy() and pm_runtime_put_autosuspend()
      in mmc_release_host(). In this way a runtime PM reference count will be
      kept during the complete cycle of a claim -> release host.
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      Acked-by: NAdrian Hunter <adrian.hunter@intel.com>
      Acked-by: NKonstantin Dorfman <kdorfman@codeaurora.org>
      9250aea7
  7. 27 3月, 2015 1 次提交
  8. 23 3月, 2015 2 次提交
  9. 19 3月, 2015 1 次提交
  10. 07 3月, 2015 1 次提交
  11. 04 2月, 2015 2 次提交
    • M
      mmc: pwrseq: add driver for emmc hardware reset · 726b6324
      Marek Szyprowski 提交于
      This patch provides a simple mmc-pwrseq-emmc driver, which controls
      single gpio line. It perform standard eMMC hw reset procedure, as
      descibed by Jedec 4.4 specification. This procedure is performed just
      after MMC core enabled power to the given mmc host (to fix possible
      issues if bootloader has left eMMC card in initialized or unknown
      state), and before performing complete system reboot (also in case of
      emergency reboot call). The latter is needed on boards, which doesn't
      have hardware reset logic connected to emmc card and (limited or broken)
      ROM bootloaders are unable to read second stage from the emmc card if
      the card is left in unknown or already initialized state.
      Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      726b6324
    • U
      mmc: core: Invoke mmc_pwrseq_post_power_on() prior MMC_POWER_ON state · 4febb7e2
      Ulf Hansson 提交于
      Host drivers have different ways to sends their "init stream" to the
      card. Some need to do it as part of a request, some do it from the
      ->set_ios() callback in the MMC_POWER_ON state and some don't send an
      "init stream" at all.
      
      To be able to use the reset GPIOs from the simple MMC power sequence
      provider, the card need to be powered and the "init stream" must not
      have been sent.
      
      To cope with these requirements, invoke mmc_pwrseq_post_power_on()
      prior we change the state to MMC_POWER_ON in mmc_power_up().
      
      Host drivers shall perform power up operations in the MMC_POWER_UP
      state. Unfortunate three hosts (au1xmmc, cb710-mmc and toshsd) don't
      conform to this expectation. Instead those ignore the MMC_POWER_UP
      state and delays their power up operations to the MMC_POWER_ON state.
      
      Those hosts needs to change their behavior to enable proper support for
      the simple MMC power sequence provider.
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      Reviewed-by: NJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Tested-by: NJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      4febb7e2
  12. 30 1月, 2015 2 次提交
  13. 29 1月, 2015 1 次提交
  14. 28 1月, 2015 3 次提交
  15. 19 1月, 2015 1 次提交