Message ID | 1582100563-20555-1-git-send-email-haibo.chen@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | few fix for sdhci-esdhc-imx | expand |
On Wed, 19 Feb 2020 at 09:30, <haibo.chen@nxp.com> wrote: > > From: Haibo Chen <haibo.chen@nxp.com> > > --- > 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. Series applied for next, but waiting with patch14 for a while, thanks! Kind regards Uffe > > 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(-) > > -- > 2.17.1 >
From: Haibo Chen <haibo.chen@nxp.com> --- 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(-)