[GIT PULL] MMC and MEMSTICK updates for v6.5

From: Ulf Hansson
Date: Mon Jun 26 2023 - 10:02:32 EST


Hi Linus,

Here's the PR with the MMC and MEMSTICK updates for v6.5-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 413db499730248431c1005b392e8ed82c4fa19bf:

mmc: usdhi60rol0: fix deferred probing (2023-06-19 13:32:39 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 06b5d4fea89cd699408af12c14b6915d77ceffb0:

dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support (2023-06-22 11:08:10 +0200)

----------------------------------------------------------------
MMC core:
- Allow synchronous detection of (e)MMC/SD/SDIO cards
- Fixup error check for ioctls for SPI hosts
- Disable broken SD-Cache support for Kingston Canvas Go Plus from 11/2019
- Disable broken eMMC-Trim support for Kingston EMMC04G-M627
- Disable broken eMMC-Trim support for Micron MTFC4GACAJCN-1M

MMC host:
- bcm2835: Convert DT bindings to YAML
- mmci: Enable asynchronous probe
- mmci: Transform the ux500 HW-busy detection into a proper state machine
- mmci: Add support for SW busy-end timeouts for the ux500 variants
- mmci_stm32: Add support for sdm32 variant revision v3.0 used on STM32MP25
- mmci_stm32: Improve the tuning sequence
- mtk-sd: Tune polling-period to improve performance
- sdhci: Fixup DMA configuration for 64-bit DMA mode
- sdhci-bcm-kona: Convert DT bindings to YAML
- sdhci-msm: Switch to use the new ICE API
- sdhci-msm: Add support for the SC8280XP/IPQ6018/QDU1000/QRU1000 variants
- sdhci-pci-gli: Add support SD Express cards for GL9767
- sdhci-pci-gli: Add support for the Genesys Logic GL9767 variant

----------------------------------------------------------------
Abel Vesa (1):
mmc: sdhci-msm: Switch to the new ICE API

Arnd Bergmann (1):
memstick r592: make memstick_debug_get_tpc_name() static

Bjorn Andersson (1):
dt-bindings: mmc: sdhci-msm: Document SC8280XP SDHCI

Chevron Li (1):
mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.

Christian Loehle (1):
mmc: block: ioctl: do write error check for spi

Dennis Zhou (1):
mmc: core: Allow mmc_start_host() synchronously detect a card

Douglas Anderson (1):
mmc: mediatek: Avoid ugly error message when SDIO wakeup IRQ isn't used

Florian Fainelli (1):
mmc: block: Suppress empty whitespaces in prints

Komal Bajaj (1):
dt-bindings: mmc: sdhci-msm: Document the QDU1000/QRU1000 compatible

Linus Walleij (9):
mmc: mmci: Clear busy_status when starting command
mmc: mmci: Unwind big if() clause
mmc: mmci: Stash status while waiting for busy
mmc: mmci: Break out error check in busy detect
mmc: mmci: Make busy complete state machine explicit
mmc: mmci: Retry the busy start condition
mmc: mmci: Use state machine state as exit condition
mmc: mmci: Use a switch statement machine
mmc: mmci: Break out a helper function

Mantas Pucka (1):
dt-bindings: mmc: sdhci-msm: add IPQ6018 compatible

Marek Vasut (1):
mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019

Oleksij Rempel (1):
dt-bindings: mmc: fsl-imx-esdhc: Add imx6ul support

Robert Marko (2):
mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
mmc: core: disable TRIM on Kingston EMMC04G-M627

Simon Horman (1):
mmc: meson-mx-sdhc: Avoid cast to incompatible function type

Stanislav Jakubek (1):
dt-bindings: mmc: brcm,kona-sdhci: convert to YAML

Stefan Wahren (1):
dt-bindings: mmc: convert bcm2835-sdhost bindings to YAML

Ulf Hansson (5):
mmc: Merge branch fixes into next
mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
mmc: Merge branch fixes into next
mmc: Merge branch fixes into next
mmc: mmci: Add support for SW busy-end timeouts

Uwe Kleine-König (1):
mmc: dw_mmc: Make dw_mci_pltfm_remove() return void

Victor Shih (4):
mmc: sdhci-pci-gli: Add Genesys Logic GL9767 support
mmc: sdhci-pci-gli: Set SDR104's clock to 205MHz and enable SSC for GL9767
mmc: sdhci: Add VDD2 definition for power control register
mmc: sdhci-pci-gli: Add support SD Express card for GL9767

Wenbin Mei (1):
mmc: mtk-sd: reduce CIT for better performance

Yann Gautier (7):
mmc: mmci: stm32: set feedback clock when using delay block
dt-bindings: mmc: mmci: Add st,stm32mp25-sdmmc2 compatible
mmc: mmci: add stm32_idmabsize_align parameter
mmc: mmci: Add support for sdmmc variant revision v3.0
mmc: mmci: stm32: manage block gap hardware flow control
mmc: mmci: stm32: prepare other delay block support
mmc: mmci: stm32: add delay block support for STM32MP25

Yeqi Fu (1):
mmc: core: Remove unnecessary error checks and change return type

.../devicetree/bindings/mmc/arm,pl18x.yaml | 7 +-
.../bindings/mmc/brcm,bcm2835-sdhost.txt | 23 --
.../bindings/mmc/brcm,bcm2835-sdhost.yaml | 54 +++
.../devicetree/bindings/mmc/brcm,kona-sdhci.txt | 21 --
.../devicetree/bindings/mmc/brcm,kona-sdhci.yaml | 48 +++
.../devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 1 +
.../devicetree/bindings/mmc/sdhci-msm.yaml | 3 +
drivers/memstick/host/r592.c | 4 +-
drivers/mmc/core/block.c | 35 +-
drivers/mmc/core/card.h | 30 +-
drivers/mmc/core/core.c | 15 +-
drivers/mmc/core/quirks.h | 27 ++
drivers/mmc/core/sd.c | 2 +-
drivers/mmc/host/Kconfig | 2 +-
drivers/mmc/host/cqhci.h | 3 +
drivers/mmc/host/dw_mmc-bluefield.c | 2 +-
drivers/mmc/host/dw_mmc-k3.c | 2 +-
drivers/mmc/host/dw_mmc-pltfm.c | 5 +-
drivers/mmc/host/dw_mmc-pltfm.h | 2 +-
drivers/mmc/host/dw_mmc-starfive.c | 2 +-
drivers/mmc/host/meson-mx-sdhc-mmc.c | 8 +-
drivers/mmc/host/mmci.c | 208 +++++++++--
drivers/mmc/host/mmci.h | 25 +-
drivers/mmc/host/mmci_stm32_sdmmc.c | 179 +++++++--
drivers/mmc/host/mtk-sd.c | 48 ++-
drivers/mmc/host/sdhci-msm.c | 223 +++--------
drivers/mmc/host/sdhci-pci-core.c | 1 +
drivers/mmc/host/sdhci-pci-gli.c | 406 +++++++++++++++++++++
drivers/mmc/host/sdhci-pci.h | 2 +
drivers/mmc/host/sdhci.c | 4 +-
drivers/mmc/host/sdhci.h | 7 +
include/linux/mmc/card.h | 1 +
32 files changed, 1067 insertions(+), 333 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt
create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.yaml
delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.txt
create mode 100644 Documentation/devicetree/bindings/mmc/brcm,kona-sdhci.yaml