Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1584395

[RFC PATCH 0/4] mmc: core: Provide CMD5 awake and partial_init support

From Ritesh Harjani <riteshh@codeaurora.org>
Newsgroups linux.kernel
Subject [RFC PATCH 0/4] mmc: core: Provide CMD5 awake and partial_init support
Date 2017-02-20 09:10 +0100
Message-ID <tcRcJ-27h-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


As per JEDEC spec - CMD5 can be used to awake from sleep mode for emmc.
This patch series provide CMD5(awake) + mmc_partial_init support to resume
mmc card device. This is mainly to reduce the resume time.

This was tested on db410c (emmc with HS200 mode) and MS8996 (emmc with HS400ES)
based internal board. This patch reduced the resume time by ~50% on msm8996
and ~11% on db410c.

As of now this patch series provides a caps (MMC_CAP2_SLEEP_AWAKE) to enable this feature.
Since there is no dependency on host platform for this, we can enable this feature by
default as well. Thoughts?


Ritesh Harjani (4):
  Documentation: mmc: add mmc-sleep-awake
  mmc: core: add mmc-sleep-awake caps
  mmc: mmc: add support for CMD5 awake
  mmc: core: Implement mmc_partial_init during resume

 Documentation/devicetree/bindings/mmc/mmc.txt |   2 +
 drivers/mmc/core/core.c                       |  13 +++
 drivers/mmc/core/core.h                       |   1 +
 drivers/mmc/core/host.c                       |   2 +
 drivers/mmc/core/mmc.c                        | 160 ++++++++++++++++++++++++--
 include/linux/mmc/card.h                      |   3 +
 include/linux/mmc/host.h                      |   2 +
 7 files changed, 176 insertions(+), 7 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
a Linux Foundation Collaborative Project.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/4] mmc: core: Provide CMD5 awake and partial_init support Ritesh Harjani <riteshh@codeaurora.org> - 2017-02-20 09:10 +0100
  Re: [RFC PATCH 0/4] mmc: core: Provide CMD5 awake and partial_init support Ulf Hansson <ulf.hansson@linaro.org> - 2017-02-20 12:40 +0100
    Re: [RFC PATCH 0/4] mmc: core: Provide CMD5 awake and partial_init  support Ritesh Harjani <riteshh@codeaurora.org> - 2017-02-20 14:10 +0100
  Re: [RFC PATCH 0/4] mmc: core: Provide CMD5 awake and partial_init  support Shawn Lin <shawn.lin@rock-chips.com> - 2017-02-22 02:00 +0100

csiph-web