[GIT PULL] MMC updates for v6.6

From: Ulf Hansson
Date: Mon Aug 28 2023 - 08:16:51 EST


Hi Linus,

Here's the pull-request with the MMC updates (no MEMSTICK changes this time) for
for v6.6-rc1. 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 52a93d39b17dc7eb98b6aa3edb93943248e03b2f:

Linux 6.5-rc5 (2023-08-06 15:07:51 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v6.6

for you to fetch changes up to 98ac9e4fc07f101c435f1ab6b395b6245b096a68:

mmc: atmel-mci: Move card detect gpio polarity quirk to gpiolib (2023-08-25 13:40:21 +0200)

----------------------------------------------------------------
MMC core:
- Convert drivers to use the ->remove_new() callback
- Propagate the removable attribute for the card's device

MMC host:
- Convert drivers to use the ->remove_new() callback
- atmel-mci: Convert to gpio descriptors and cleanup the code
- davinci: Make SDIO irq truly optional
- renesas_sdhi: Register irqs before registering controller
- sdhci: Simplify the sdhci_pltfm_* interface a bit
- sdhci-esdhc-imx: Improve support for the 1.8V errata
- sdhci-of-at91: Add support for the microchip sam9x7 variant
- sdhci-of-dwcmshc: Add support for runtime PM
- sdhci-pci-o2micro: Add support for the new Bayhub GG8 variant
- sdhci-sprd: Add support for SD high-speed mode tuning
- uniphier-sd: Register irqs before registering controller

----------------------------------------------------------------
Adrian Hunter (16):
mmc: sdhci-pltfm: Add sdhci_pltfm_remove()
mmc: sdhci-bcm-kona: Use sdhci_pltfm_remove()
mmc: sdhci-brcmstb: Use sdhci_pltfm_remove()
mmc: sdhci-cadence: Use sdhci_pltfm_remove()
mmc: sdhci-dove: Use sdhci_pltfm_remove()
mmc: sdhci_f_sdh30: Use sdhci_pltfm_remove()
mmc: sdhci-iproc: Use sdhci_pltfm_remove()
mmc: sdhci-of-arasan: Use sdhci_pltfm_remove()
mmc: sdhci-of-at91: Use sdhci_pltfm_remove()
mmc: sdhci-of-esdhc: Use sdhci_pltfm_remove()
mmc: sdhci-of-hlwd: Use sdhci_pltfm_remove()
mmc: sdhci-of-sparx5: Use sdhci_pltfm_remove()
mmc: sdhci-pxav2: Use sdhci_pltfm_remove()
mmc: sdhci-st: Use sdhci_pltfm_remove()
mmc: sdhci-pltfm: Remove sdhci_pltfm_unregister()
mmc: sdhci-pltfm: Rename sdhci_pltfm_register()

Balamanikandan Gunasundar (3):
mmc: atmel-mci: Convert to gpio descriptors
mmc: atmel-mci: move atmel MCI header file
mmc: atmel-mci: Move card detect gpio polarity quirk to gpiolib

Chevron Li (2):
mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for UHS-I
mmc: sdhci-pci-o2micro: add Bayhub new chip GG8 support for express card

Frank Wunderlich (1):
dt-bindings: mmc: mtk-sd: drop assigned-clocks/clock-parents

Giulio Benetti (1):
mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450

Guido Günther (1):
dt-bindings: mmc: Fix reference to pwr-seq-simple

Harshit Mogalapalli (2):
mmc: sunplus: Fix error handling in spmmc_drv_probe()
mmc: sunplus: Fix platform_get_irq() error checking

Julien Delbergue (1):
mmc: davinci: Make SDIO irq truly optional

Kunihiko Hayashi (1):
mmc: sdhci-f-sdh30: Replace with sdhci_pltfm

Li Zetao (1):
mmc: sdhci-st: Use devm_platform_ioremap_resource_byname()

Liming Sun (2):
mmc: sdhci-of-dwcmshc: Add error handling in dwcmshc_resume
mmc: sdhci-of-dwcmshc: Add runtime PM operations

Linus Walleij (1):
mmc: mmci: Improve ux500 debug prints

Michal Simek (1):
dt-bindings: mmc: arasan,sdci: Add power-domains and iommus properties

Rob Herring (1):
mmc: Explicitly include correct DT includes

Sergei Antonov (1):
mmc: moxart: read scr register without changing byte order

Thomas Weißschuh (1):
mmc: core: propagate removable attribute to driver core

Ulf Hansson (3):
mmc: meson-gx: Drop redundant WARN_ON() in the irq handler
mmc: Merge branch fixes into next
mmc: Merge branch fixes into next

Varshini Rajendran (1):
dt-bindings: sdhci-of-at91: add microchip,sam9x7-sdhci

Victor Shih (1):
mmc: core: Cleanup mmc_sd_num_wr_blocks() function

Wei Chen (1):
mmc: sunplus: fix return value check of mmc_add_host()

Wenchao Chen (2):
mmc: core: Add host specific tuning support for SD HS mode
mmc: sdhci-sprd: Add SD HS mode online tuning

Wolfram Sang (3):
mmc: renesas_sdhi: register irqs before registering controller
mmc: renesas_sdhi: remove outdated indentation
mmc: uniphier-sd: register irqs before registering controller

Yang Yingliang (2):
mmc: wbsd: fix double mmc_free_host() in wbsd_init()
mmc: remove unnecessary set_drvdata() function

Yangtao Li (65):
mmc: mxcmmc: Use devm_platform_get_and_ioremap_resource()
mmc: omap_hsmmc: Use devm_platform_get_and_ioremap_resource()
mmc: pxamci: Use devm_platform_get_and_ioremap_resource()
mmc: sunxi: Convert to platform remove callback returning void
mmc: bcm2835: Convert to platform remove callback returning void
mmc: jz4740: Convert to platform remove callback returning void
mmc: litex_mmc: Convert to platform remove callback returning void
mmc: mtk-sd: Convert to platform remove callback returning void
mmc: cb710: Convert to platform remove callback returning void
mmc: davinci_mmc: Convert to platform remove callback returning void
mmc: dw_mmc: hi3798cv200: Convert to platform remove callback returning void
mmc: sdhci-pic32: Convert to platform remove callback returning void
mmc: sdhci: milbeaut: Convert to platform remove callback returning void
mmc: omap_hsmmc: Convert to platform remove callback returning void
mmc: sdhci-of-at91: Convert to platform remove callback returning void
mmc: omap: Convert to platform remove callback returning void
mmc: dw_mmc: exynos: Convert to platform remove callback returning void
mmc: sdhci-pxav3: Convert to platform remove callback returning void
mmc: rtsx_pci: Drop if block with always false condition
mmc: rtsx_pci: Convert to platform remove callback returning void
mmc: sh_mmcif: Convert to platform remove callback returning void
mmc: meson-gx: Convert to platform remove callback returning void
mmc: xenon: Convert to platform remove callback returning void
mmc: sdhci-s3c: Convert to platform remove callback returning void
mmc: meson-mx-sdhc: Convert to platform remove callback returning void
mmc: rtsx_usb_sdmmc: Convert to platform remove callback returning void
mmc: mxs-mmc: Convert to platform remove callback returning void
mmc: sdhci-of-arasan: Convert to platform remove callback returning void
mmc: sdhci-of-dwcmshc: Convert to platform remove callback returning void
mmc: au1xmmc: Convert to platform remove callback returning void
mmc: cavium-octeon: Convert to platform remove callback returning void
mmc: pxamci: Convert to platform remove callback returning void
mmc: moxart: Convert to platform remove callback returning void
mmc: sdhci-omap: Convert to platform remove callback returning void
mmc: sdhci-of-aspeed: remove unneeded variables
mmc: sdhci-of-aspeed: Convert to platform remove
mmc: meson-mx-sdio: Convert to platform remove callback returning void
mmc: sdhci-sprd: Convert to platform remove callback returning void
mmc: sdhci-tegra: Convert to platform remove callback returning void
mmc: sdhci-acpi: Convert to platform remove callback returning void
mmc: sdhci-esdhc-imx: Convert to platform remove callback returning void
mmc: sdhci-msm: Convert to platform remove callback returning void
mmc: alcor: Convert to platform remove callback returning void
mmc: dw_mmc: rockchip: Convert to platform remove callback returning void
mmc: owl: Convert to platform remove callback returning void
mmc: wbsd: Convert to platform remove callback returning void
mmc: usdhi60rol0: Convert to platform remove callback returning void
mmc: atmel-mci: Convert to platform remove callback returning void
mmc: sdhci-st: Convert to platform remove callback returning void
mmc: wmt-sdmmc: Convert to platform remove callback returning void
mmc: sdhci-esdhc-mcf: Convert to platform remove callback returning void
mmc: sunplus-mmc: Convert to platform remove callback returning void
mmc: sdhci-spear: Convert to platform remove callback returning void
mmc: mxcmmc: Convert to platform remove callback returning void
mmc: mvsdio: Convert to platform remove callback returning void
mmc: pwrseq_simple: Convert to platform remove callback returning void
mmc: pwrseq: sd8787: Convert to platform remove callback returning void
mmc: pwrseq: Convert to platform remove callback returning void
mmc: renesas_sdhi: Convert to platform remove callback returning void
mmc: Convert to platform remove callback returning void
mmc: uniphier-sd: Convert to platform remove callback returning void
mmc: sdhci_am654: Properly handle failures in .remove()
mmc: sdhci_am654: Convert to platform remove callback returning void
mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
mmc: f-sdh30: Convert to platform remove callback returning void

Yibin Ding (1):
mmc: block: Fix in_flight[issue_type] value error

Zhu Wang (2):
mmc: sdhci-spear: remove redundant of_match_ptr()
mmc: sdhci: milbeaut: remove redundant of_match_ptr()

.../devicetree/bindings/mmc/arasan,sdhci.yaml | 6 +
.../devicetree/bindings/mmc/mmc-controller.yaml | 2 +-
Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 10 -
.../devicetree/bindings/mmc/sdhci-atmel.txt | 4 +-
drivers/gpio/gpiolib-of.c | 20 +-
drivers/mmc/core/block.c | 18 +-
drivers/mmc/core/bus.c | 3 +
drivers/mmc/core/mmc_ops.h | 1 -
drivers/mmc/core/pwrseq_emmc.c | 6 +-
drivers/mmc/core/pwrseq_sd8787.c | 6 +-
drivers/mmc/core/pwrseq_simple.c | 6 +-
drivers/mmc/core/sd.c | 14 ++
drivers/mmc/core/sd_ops.c | 1 +
drivers/mmc/core/sd_ops.h | 2 -
drivers/mmc/host/alcor.c | 6 +-
drivers/mmc/host/atmel-mci.c | 140 ++++++++------
drivers/mmc/host/au1xmmc.c | 5 +-
drivers/mmc/host/bcm2835.c | 6 +-
drivers/mmc/host/cavium-octeon.c | 7 +-
drivers/mmc/host/cavium-thunderx.c | 1 +
drivers/mmc/host/cb710-mmc.c | 5 +-
drivers/mmc/host/davinci_mmc.c | 9 +-
drivers/mmc/host/dw_mmc-exynos.c | 6 +-
drivers/mmc/host/dw_mmc-hi3798cv200.c | 6 +-
drivers/mmc/host/dw_mmc-rockchip.c | 6 +-
drivers/mmc/host/jz4740_mmc.c | 6 +-
drivers/mmc/host/litex_mmc.c | 5 +-
drivers/mmc/host/meson-gx-mmc.c | 11 +-
drivers/mmc/host/meson-mx-sdhc-mmc.c | 6 +-
drivers/mmc/host/meson-mx-sdio.c | 6 +-
drivers/mmc/host/mmci.c | 39 +++-
drivers/mmc/host/moxart-mmc.c | 16 +-
drivers/mmc/host/mtk-sd.c | 10 +-
drivers/mmc/host/mvsdio.c | 6 +-
drivers/mmc/host/mxcmmc.c | 10 +-
drivers/mmc/host/mxs-mmc.c | 7 +-
drivers/mmc/host/omap.c | 6 +-
drivers/mmc/host/omap_hsmmc.c | 11 +-
drivers/mmc/host/owl-mmc.c | 9 +-
drivers/mmc/host/pxamci.c | 12 +-
drivers/mmc/host/renesas_sdhi.h | 2 +-
drivers/mmc/host/renesas_sdhi_core.c | 26 +--
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 5 +-
drivers/mmc/host/renesas_sdhi_sys_dmac.c | 5 +-
drivers/mmc/host/rtsx_pci_sdmmc.c | 9 +-
drivers/mmc/host/rtsx_usb_sdmmc.c | 8 +-
drivers/mmc/host/sdhci-acpi.c | 6 +-
drivers/mmc/host/sdhci-bcm-kona.c | 13 +-
drivers/mmc/host/sdhci-brcmstb.c | 18 +-
drivers/mmc/host/sdhci-cadence.c | 19 +-
drivers/mmc/host/sdhci-dove.c | 8 +-
drivers/mmc/host/sdhci-esdhc-imx.c | 15 +-
drivers/mmc/host/sdhci-esdhc-mcf.c | 6 +-
drivers/mmc/host/sdhci-iproc.c | 16 +-
drivers/mmc/host/sdhci-milbeaut.c | 8 +-
drivers/mmc/host/sdhci-msm.c | 7 +-
drivers/mmc/host/sdhci-of-arasan.c | 14 +-
drivers/mmc/host/sdhci-of-aspeed.c | 15 +-
drivers/mmc/host/sdhci-of-at91.c | 10 +-
drivers/mmc/host/sdhci-of-dwcmshc.c | 93 ++++++++-
drivers/mmc/host/sdhci-of-esdhc.c | 2 +-
drivers/mmc/host/sdhci-of-hlwd.c | 4 +-
drivers/mmc/host/sdhci-of-sparx5.c | 19 +-
drivers/mmc/host/sdhci-omap.c | 7 +-
drivers/mmc/host/sdhci-pci-core.c | 4 +
drivers/mmc/host/sdhci-pci-o2micro.c | 211 +++++++++++++++++----
drivers/mmc/host/sdhci-pci.h | 4 +
drivers/mmc/host/sdhci-pic32.c | 6 +-
drivers/mmc/host/sdhci-pltfm.c | 16 +-
drivers/mmc/host/sdhci-pltfm.h | 8 +-
drivers/mmc/host/sdhci-pxav2.c | 20 +-
drivers/mmc/host/sdhci-pxav3.c | 6 +-
drivers/mmc/host/sdhci-s3c.c | 7 +-
drivers/mmc/host/sdhci-spear.c | 10 +-
drivers/mmc/host/sdhci-sprd.c | 156 ++++++++++++++-
drivers/mmc/host/sdhci-st.c | 15 +-
drivers/mmc/host/sdhci-tegra.c | 7 +-
drivers/mmc/host/sdhci-xenon.c | 6 +-
drivers/mmc/host/sdhci_am654.c | 14 +-
drivers/mmc/host/sdhci_f_sdh30.c | 77 ++++----
drivers/mmc/host/sh_mmcif.c | 7 +-
drivers/mmc/host/sunplus-mmc.c | 35 ++--
drivers/mmc/host/sunxi-mmc.c | 6 +-
drivers/mmc/host/uniphier-sd.c | 19 +-
drivers/mmc/host/usdhi6rol0.c | 6 +-
drivers/mmc/host/via-sdmmc.c | 2 -
drivers/mmc/host/wbsd.c | 11 +-
drivers/mmc/host/wmt-sdmmc.c | 7 +-
include/linux/atmel-mci.h | 46 -----
include/linux/mmc/host.h | 8 +
90 files changed, 866 insertions(+), 639 deletions(-)
delete mode 100644 include/linux/atmel-mci.h