[GIT PULL] MMC updates for v5.17

From: Ulf Hansson
Date: Tue Jan 11 2022 - 09:29:17 EST


Hi Linus,

Here's the PR with updates for MMC for v5.17, no changes for MEMSTICK this time.
Details about the highlights are as usual found in the signed tag.

Please pull this in!

Kind regards
Ulf Hansson


The following changes since commit ff31ee0a0f471776f67be5e5275c18d17736fc6b:

mmc: mmci: stm32: clear DLYB_CR after sending tuning command (2021-12-21 13:03:51 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v5.17

for you to fetch changes up to 356f3f2c5756bbb67a515760966a40fc7043cdda:

dt-bindings: mmc: synopsys-dw-mshc: integrate Altera and Imagination (2021-12-28 17:55:21 +0100)

----------------------------------------------------------------
MMC core:
- Use common polling loop for CMD1
- Add support for DT compatibles for card quirks and use it for ti,wl1251
- Fixup storing of the OCR mask for MMC_QUIRK_NONSTD_SDIO

MMC host:
- dw_mmc: Add support for MMC_GEN_CMDs
- dw_mmc: Fixup calculation of the data timeout
- dw_mmc-exynos: Add support for the ARTPEC-8 variant
- jz4740: Add support for bi-directional DMA channels
- mmci: Add support for eMMC HS200 mode for the stm32 sdmmc variant
- mmci: Add support for stm32 sdmmc variant revision v2.2
- mtk-sd: A couple of various minor improvements
- omap_hsmmc: Drop redundant initialization for the ti,wl1251 chip
- sdhci-esdhc-imx: Add support for the i.MXRT series variant
- sdhci-esdhc-imx: Add Haibo Chen as maintainer
- sdhci-pci: Add support for the Intel ADL variant
- sdhci-pci-gli: GL975[50]: Add support for the Apple ARM64 variant
- sdhci-pci-o2micro: Improve support for SDR104/HS200

----------------------------------------------------------------
Adrian Hunter (1):
mmc: sdhci-pci: Add PCI ID for Intel ADL

Andy Shevchenko (2):
mmc: mmc_spi: Convert 'multiple' to be boolean in mmc_spi_data_do()
mmc: mmc_spi: Use write_or_read temporary variable in mmc_spi_data_do()

AngeloGioacchino Del Regno (5):
mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
mmc: mtk-sd: Use BIT() and GENMASK() macros to describe fields
mmc: mtk-sd: Take action for no-sdio device-tree parameter
mmc: mtk-sd: Fix usage of devm_clk_get_optional()
mmc: mtk-sd: Assign src_clk parent to src_clk_cg for legacy DTs

Biju Das (1):
mmc: tmio: reinit card irqs in reset routine

Christophe JAILLET (1):
mmc: pwrseq: Use bitmap_free() to free bitmap

Dan Carpenter (1):
mmc: dw_mmc: clean up a debug message

David Heidelberg (1):
dt-bindings: mmc: PL18x stop relying on order of dma-names

Florian Fainelli (1):
dt-bindings: mmc: Convert Broadcom STB SDHCI binding to YAML

Fred Ai (2):
mmc: sdhci-pci-o2micro: Improve card input timing at SDR104/HS200 mode
mmc: sdhci-pci-o2micro: Restore the SD clock's base clock frequency

H. Nikolaus Schaller (3):
mmc: core: provide macro and table to match the device tree to apply quirks
mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmc
mmc: omap_hsmmc: Revert special init for wl1251

Haibo Chen (1):
MAINTAINERS: Add i.MX sdhci maintainer

Hector Martin (2):
mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms
mmc: sdhci-pci-gli: GL975[50]: Issue 8/16-bit MMIO reads as 32-bit reads.

Huijin Park (2):
mmc: core: change __mmc_poll_for_busy() parameter type
mmc: core: adjust polling interval for CMD1

Jacky Bai (1):
dt-bindings: mmc: imx-esdhc: Add imx8ulp compatible string

Jesse Taube (2):
dt-bindings: mmc: fsl-imx-esdhc: add i.MXRT compatible string
mmc: sdhci-esdhc-imx: Add sdhc support for i.MXRT series

Joel Stanley (1):
mmc: core: Fix blk_status_t handling

John Keeping (4):
mmc: dw_mmc: add common capabilities to replace caps
mmc: dw_mmc: hi3798cv200: use common_caps
mmc: dw_mmc: rockchip: use common_caps
mmc: dw_mmc: exynos: use common_caps

Jérôme Pouiller (2):
mmc: core: rewrite mmc_fixup_device()
mmc: core: allow to match the device tree to apply quirks

Krzysztof Kozlowski (1):
dt-bindings: mmc: synopsys-dw-mshc: integrate Altera and Imagination

Martin Blumenstingl (1):
mmc: meson-mx-sdhc: Drop unused MESON_SDHC_NUM_BUILTIN_CLKS macro

Mårten Lindahl (6):
mmc: dw_mmc: Avoid hung state if GEN_CMD transfer fails
mmc: dw_mmc: Allow lower TMOUT value than maximum
dt-bindings: mmc: exynos-dw-mshc: Add support for ARTPEC-8
mmc: dw_mmc-exynos: Add support for ARTPEC-8
mmc: dw_mmc: Add driver callbacks for data read timeout
mmc: dw_mmc: Do not wait for DTO in case of error

Paul Cercueil (2):
dt-bindings: mmc: ingenic: Support using bi-directional DMA channel
mmc: jz4740: Support using a bi-directional DMA channel

Petr Vorel (1):
dt-bindings: mmc: sdhci-msm: Add compatible string for msm8994

Rob Herring (1):
dt-bindings: mmc: Add missing properties used in examples

Sergey Shtylyov (3):
mmc: meson-mx-sdhc: add IRQ check
mmc: meson-mx-sdio: add IRQ check
mmc: au1xmmc: propagate errors from platform_get_irq()

Ulf Hansson (4):
mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
Merge branch 'fixes' into next
Merge branch 'fixes' into next
Merge branch 'fixes' into next

Yann Gautier (4):
dt-bindings: mmc: mmci: Add st,stm32-sdmmc2 compatible
mmc: mmci: Add support for sdmmc variant revision v2.2
mmc: mmci: increase stm32 sdmmcv2 clock max freq
mmc: mmci: add hs200 support for stm32 sdmmc

lizhe (1):
mmc: core: Remove redundant driver match function

.../devicetree/bindings/mmc/arasan,sdhci.yaml | 3 +
.../devicetree/bindings/mmc/arm,pl18x.yaml | 19 +-
.../devicetree/bindings/mmc/brcm,sdhci-brcmstb.txt | 53 --
.../bindings/mmc/brcm,sdhci-brcmstb.yaml | 100 ++++
.../devicetree/bindings/mmc/exynos-dw-mshc.txt | 2 +
.../devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 8 +
.../devicetree/bindings/mmc/img-dw-mshc.txt | 28 --
.../devicetree/bindings/mmc/ingenic,mmc.yaml | 37 +-
Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 6 +
.../devicetree/bindings/mmc/sdhci-am654.yaml | 2 +
.../devicetree/bindings/mmc/sdhci-msm.txt | 1 +
.../devicetree/bindings/mmc/socfpga-dw-mshc.txt | 23 -
.../bindings/mmc/socionext,uniphier-sd.yaml | 6 +
.../devicetree/bindings/mmc/synopsys-dw-mshc.yaml | 5 +-
MAINTAINERS | 7 +
drivers/mmc/core/block.c | 4 +-
drivers/mmc/core/bus.c | 11 -
drivers/mmc/core/card.h | 36 ++
drivers/mmc/core/mmc.c | 2 +-
drivers/mmc/core/mmc_ops.c | 89 ++--
drivers/mmc/core/mmc_ops.h | 2 +-
drivers/mmc/core/pwrseq_simple.c | 2 +-
drivers/mmc/core/queue.c | 2 +-
drivers/mmc/core/quirks.h | 64 ++-
drivers/mmc/core/sd.c | 2 +-
drivers/mmc/core/sdio.c | 5 +-
drivers/mmc/host/au1xmmc.c | 4 +-
drivers/mmc/host/dw_mmc-exynos.c | 110 ++++-
drivers/mmc/host/dw_mmc-hi3798cv200.c | 9 +-
drivers/mmc/host/dw_mmc-rockchip.c | 11 +-
drivers/mmc/host/dw_mmc.c | 56 ++-
drivers/mmc/host/dw_mmc.h | 13 +
drivers/mmc/host/jz4740_mmc.c | 19 +-
drivers/mmc/host/meson-mx-sdhc-clkc.c | 2 -
drivers/mmc/host/meson-mx-sdhc-mmc.c | 5 +
drivers/mmc/host/meson-mx-sdio.c | 5 +
drivers/mmc/host/mmc_spi.c | 16 +-
drivers/mmc/host/mmci.c | 7 +-
drivers/mmc/host/mmci_stm32_sdmmc.c | 5 +-
drivers/mmc/host/mtk-sd.c | 550 +++++++++++----------
drivers/mmc/host/omap_hsmmc.c | 36 --
drivers/mmc/host/sdhci-esdhc-imx.c | 4 +
drivers/mmc/host/sdhci-pci-core.c | 1 +
drivers/mmc/host/sdhci-pci-gli.c | 34 ++
drivers/mmc/host/sdhci-pci-o2micro.c | 62 ++-
drivers/mmc/host/sdhci-pci.h | 1 +
drivers/mmc/host/tmio_mmc_core.c | 15 +-
47 files changed, 930 insertions(+), 554 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.txt
create mode 100644 Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml
delete mode 100644 Documentation/devicetree/bindings/mmc/img-dw-mshc.txt
delete mode 100644 Documentation/devicetree/bindings/mmc/socfpga-dw-mshc.txt