Skip to content

mmc: sdhci-esdhc-imx: add std tuning for mx6sl and DDR mode support

Dong Aisheng linux-arm-kernel linux-mmc 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 0 repliesNew
  2. v28 patches 0 repliesSuperseded
  3. v110 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Minor changes from Shawn's comments

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8mmc: sdhci-esdhc-imx: add std tuning support for mx6sldrivers/mmc/host/sdhci-esdhc-imx.c+73 -170 replies
2/8mmc: sdhci-esdhc-imx: fix reading cap_1 register value for mx6sldrivers/mmc/host/sdhci-esdhc-imx.c+4 -00 replies
3/8mmc: sdhci: report error once the maximum tuning loops exhausted or timeoutdrivers/mmc/host/sdhci.c+1 -00 replies
4/8mmc: sdhci-esdhc-imx: add DDR mode support for mx6drivers/mmc/host/sdhci-esdhc-imx.c+14 -30 replies
5/8mmc: sdhci-esdhc-imx: add delay line setting supportDocumentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt drivers/mmc/host/sdhci-esdhc-imx.c include/linux/platform_data/mmc-esdhc-imx.h+24 -00 replies
6/8mmc: sdhci-esdhc-imx: enable SDR50 tuning for imx6q/dldrivers/mmc/host/sdhci-esdhc-imx.c+2 -10 replies
7/8mmc: sdhci-esdhc-imx: add preset value quirk for mx6drivers/mmc/host/sdhci-esdhc-imx.c+3 -10 replies
8/8mmc: sdhci: remove unneeded call when have preset value quirkdrivers/mmc/host/sdhci.c+2 -10 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchShawn Guo
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/8] mmc: sdhci-esdhc-imx: add std tuning for mx6sl and DDR mode support

The i.MX6SL supports standard tuning as defined in standard host control spec v3.0. So this patch series add std tuning support for i.MX6SL.
(NOTE i.MX6SL can also work on the old manual tuning mode as i.MX6Q/DL) In the meanwhile, it also adds DDR mode support.
Then SD3.0 cards which can only support DDR50 can work properly now with this patch series.

Patch 1~3 add stardard tuning support for i.MX6SL. Patch 4~5 add DDR mode and delay line support Patch 6~8 some other related minor fixes.

Tested on i.MX6SL EVK board.

The patch series is generated based on the latest mmc-next branch with Shawn's (1)[PATCH v2 0/4] mmc: sdhci-esdhc-imx: eliminate enum imx_esdhc_type in Chris' tree.

1. http://www.spinics.net/lists/arm-kernel/msg280517.html

ChangeLog:
v2->v3:
- Minor changes from Shawn's comments
v1->v2:
- Only a few minor changes on patch 1 and 5 based on comments from Shawn while other patches have no change.
- rebase on Shawn's patch series
[PATCH v2 0/4] mmc: sdhci-esdhc-imx: eliminate enum imx_esdhc_type

Dong Aisheng (8):
mmc: sdhci-esdhc-imx: add std tuning support for mx6sl
mmc: sdhci-esdhc-imx: fix reading cap_1 register value for mx6sl
mmc: sdhci: report error once the maximum tuning loops exhausted or
timeout
mmc: sdhci-esdhc-imx: add DDR mode support for mx6
mmc: sdhci-esdhc-imx: add delay line setting support
mmc: sdhci-esdhc-imx: enable SDR50 tuning for imx6q/dl
mmc: sdhci-esdhc-imx: add preset value quirk for mx6
mmc: sdhci: remove unneeded call when have preset value quirk

 .../devicetree/bindings/mmc/fsl-imx-esdhc.txt      |    5 +
 drivers/mmc/host/sdhci-esdhc-imx.c                 |  134 +++++++++++++++++---
 drivers/mmc/host/sdhci.c                           |    4 +-
 include/linux/platform_data/mmc-esdhc-imx.h        |    1 +
 4 files changed, 122 insertions(+), 22 deletions(-)
Signature · 1 line
1.7.2.rc3