Skip to content

mmc: dw_mmc: fixes for suspend/resume on exynos

Doug Anderson linux-arm-kernel linux-mmc linux-samsung-soc lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyIn review
  2. v63 patches 11 repliesSuperseded
  3. v54 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v44 patches17 repliesSuperseded
v35 patches3 repliesSuperseded
v25 patches8 repliesSuperseded
v15 patches4 repliesSuperseded

Changes in v7 from the cover letter

- Avoid printing the same clock over and over again w/ MMC_CLKGATE.

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INTdrivers/mmc/host/dw_mmc-exynos.c+52 -10 replies
2/3mmc: dw_mmc: Honor requests to set the clock to 0 (turn off clock)drivers/mmc/host/dw_mmc.c+22 -141 reply
3/3mmc: dw_mmc: Set timeout to max upon resumedrivers/mmc/host/dw_mmc.c+3 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSeungwon JeonTomasz Figa
1/3
2/3
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/3] mmc: dw_mmc: fixes for suspend/resume on exynos

This series of patches addresses some suspend/resume problems with dw_mmc on exynos platforms, espeically exynos5420. This patchset was tested on the current ToT Chromeos 3.8 tree (which has lots of backports from 3.10/3.11) and on ToT Linux (v3.11-rc6). I have confirmed basic booting and that SD cards work across suspend/resume (both if they are plugged in and if they are not plugged in).

I have received confirmation from Samsung that the problem solved for exynos5420 is a silicon errata and that this is a good fix.

Changes in v7:
- Avoid printing the same clock over and over again w/ MMC_CLKGATE.

Changes in v6:
- Took out TODO comment copied from main platform code.
- Replaces previous pathes that ensured saving/restoring clocks.

Changes in v5:
- Cleaned up dw_mci_exynos_resume_noirq() comment as per Seungwon.
- Don't memcpy dev_pm_ops structure, define a new one.

Changes in v4:
- Take Seungwon's suggestion and don't add any dw_mmc-pltfm code.

Changes in v3:
- Add freeze/thaw and poweroff/restore noirq entries.

Changes in v2:
- Use suspend_noirq as per James Hogan.

Doug Anderson (3):
mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT
mmc: dw_mmc: Honor requests to set the clock to 0 (turn off clock)
mmc: dw_mmc: Set timeout to max upon resume

 drivers/mmc/host/dw_mmc-exynos.c | 53 +++++++++++++++++++++++++++++++++++++++-
 drivers/mmc/host/dw_mmc.c        | 39 ++++++++++++++++++-----------
 2 files changed, 77 insertions(+), 15 deletions(-)
Signature · 1 line
1.8.4