Skip to content

few fix for sdhci-esdhc-imx

[email protected] linux-mmc 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest14 patches 13 repliesIn review
  2. v314 patches 11 repliesSuperseded
  3. v214 patches 6 repliesSuperseded

Changes in v4 from the cover letter

Add Adrian's ack for patch 9~12
for patch 13, change to add the check for pinctrl error
for patch 14, change to judge the dev->dma_parms first, if it not exist, then alloc it.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14mmc: sdhci: do not enable card detect interrupt for gpio cd typedrivers/mmc/host/sdhci.c+1 -10 replies
2/14mmc: sdhci-esdhc-imx: no fail when no pinctrl availabledrivers/mmc/host/sdhci-esdhc-imx.c+1 -10 replies
3/14mmc: sdhci-esdhci-imx: retune needed for Mega/Mix enabled SoCsdrivers/mmc/host/sdhci-esdhc-imx.c+20 -50 replies
4/14mmc: sdhci-esdhc-imx: restore the per_clk rate in PM_RUNTIMEdrivers/mmc/host/sdhci-esdhc-imx.c+7 -10 replies
5/14doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target bindingDocumentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt+5 -00 replies
6/14mmc: sdhci-esdhc-imx: add strobe-dll-delay-target supportdrivers/mmc/host/sdhci-esdhc-imx.c include/linux/platform_data/mmc-esdhc-imx.h+12 -10 replies
7/14mmc: sdhci-esdhc-imx: optimize the clock settingdrivers/mmc/host/sdhci-esdhc-imx.c drivers/mmc/host/sdhci-esdhc.h+24 -10 replies
8/14mmc: sdhci-esdhc-imx: optimize the strobe dll settingdrivers/mmc/host/sdhci-esdhc-imx.c+7 -80 replies
9/14mmc: sdhci-esdhc-imx: add flag ESDHC_FLAG_BROKEN_AUTO_CMD23drivers/mmc/host/sdhci-esdhc-imx.c+30 -40 replies
10/14mmc: sdhci-esdhc-imx: Add an new esdhc_soc_data for i.MX8MMdrivers/mmc/host/sdhci-esdhc-imx.c+9 -00 replies
11/14mmc: sdhci-esdhc-imx: clear pending interrupt and halt cqhcidrivers/mmc/host/sdhci-esdhc-imx.c+16 -00 replies
12/14mmc: sdhci-esdhc-imx: clear DMA_SEL when disable DMA modedrivers/mmc/host/sdhci-esdhc-imx.c+16 -20 replies
13/14mmc: sdhci-esdhc-imx: restore pin state when resume backdrivers/mmc/host/sdhci-esdhc-imx.c+9 -10 replies
14/14mmc: queue: create dev->dma_parms before call dma_set_max_seg_size()drivers/mmc/core/queue.c+7 -412 replies

Reviews trailers per patch

11 of 14 patches have a Reviewed-by or Acked-by.

PatchAdrian HunterLinus Walleij
1/14A-b
2/14A-b A-b
3/14A-b
4/14A-b
5/14
6/14A-b
7/14A-b
8/14A-b
9/14A-b
10/14A-b
11/14A-b
12/14A-b
13/14
14/14

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

Read the v4 thread

Cover letter [PATCH v4 00/14] few fix for sdhci-esdhc-imx

From: Haibo Chen <[email protected]>

---
Changes for v4:
Add Adrian's ack for patch 9~12
for patch 13, change to add the check for pinctrl error
for patch 14, change to judge the dev->dma_parms first, if it not exist, then alloc it.

Changes for v3:
Add Linus Walleij's ack for patch 2
for patch 9, drop the use of 'sdhci,auto-cmd23-broken' from dts, change to add flag ESDHC_FLAG_BROKEN_AUTO_CMD23 in the related esdhc_soc_data. for patch 10, add a new esdhc_soc_data for i.MX8MM

Changes for v2:
Add Adrian's ack for patch 1~8
Patch 9~10, change to use 'sdhci,auto-cmd23-broken' instead of 'fsl,auto-cmd23-broken' Patch 11, clear cqhci irq status and halt cqhci, move this change to sdhci_esdhc_imx_hwinit() and add some comment to explain the reason.
Patch 12, add error return check for pinctrl_pm_select_sleep_state()
Patch 13, clear the DMA_SEL in sdhci-esdhc-imx.c instead of sdhci.c
Patch 14, add the dev->dma_parms in core/queue.c, instead of host/sdhci.c.

Haibo Chen (14):
mmc: sdhci: do not enable card detect interrupt for gpio cd type
mmc: sdhci-esdhc-imx: no fail when no pinctrl available
mmc: sdhci-esdhci-imx: retune needed for Mega/Mix enabled SoCs
mmc: sdhci-esdhc-imx: restore the per_clk rate in PM_RUNTIME
doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding
mmc: sdhci-esdhc-imx: add strobe-dll-delay-target support
mmc: sdhci-esdhc-imx: optimize the clock setting
mmc: sdhci-esdhc-imx: optimize the strobe dll setting
mmc: sdhci-esdhc-imx: add flag ESDHC_FLAG_BROKEN_AUTO_CMD23
mmc: sdhci-esdhc-imx: Add an new esdhc_soc_data for i.MX8MM
mmc: sdhci-esdhc-imx: clear pending interrupt and halt cqhci
mmc: sdhci-esdhc-imx: clear DMA_SEL when disable DMA mode
mmc: sdhci-esdhc-imx: restore pin state when resume back
mmc: queue: create dev->dma_parms before call dma_set_max_seg_size()

 .../devicetree/bindings/mmc/fsl-imx-esdhc.txt |   5 +
 drivers/mmc/core/queue.c                      |  11 +-
 drivers/mmc/host/sdhci-esdhc-imx.c            | 167 +++++++++++++++---
 drivers/mmc/host/sdhci-esdhc.h                |   1 +
 drivers/mmc/host/sdhci.c                      |   2 +-
 include/linux/platform_data/mmc-esdhc-imx.h   |   1 +
 6 files changed, 161 insertions(+), 26 deletions(-)
Signature · 1 line
2.17.1