[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250729115630.16917-1-ulf.hansson@linaro.org>
Date: Tue, 29 Jul 2025 13:56:25 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Linus <torvalds@...ux-foundation.org>,
linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Ulf Hansson <ulf.hansson@...aro.org>
Subject: [GIT PULL] MMC updates for v6.17
Hi Linus,
Here's the pull-request with updates for MMC for v6.17. 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 86731a2a651e58953fc949573895f2fa6d456841:
Linux 6.16-rc3 (2025-06-22 13:30:08 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v6.17
for you to fetch changes up to c3ad4ec3fdaba1f5367dd15b5a2e6dc9a9cde3f1:
mmc: Merge branch fixes into next (2025-07-16 12:05:36 +0200)
----------------------------------------------------------------
MMC core:
- Remove redundant pm_runtime_mark_last_busy() calls
MMC host:
- Convert drivers to use devm_mmc_alloc_host()
- Remove redundant pm_runtime_mark_last_busy() calls
- renesas_sdhi: Add support for the RZ/T2H and RZ/N2H variants
- renesas_sdhi: Fix incorrect auto retuning for an SDIO card
- rtsx_usb_sdmmc: Add 74 clocks in poweron flow
- rtsx_usb_sdmmc: Re-work the code in sd_set_power_mode()
- loongson2: Add driver for the Loongson-2K SD/SDIO controller
- loongson2: Add support for the Loongson-2K2000 SD/SDIO/eMMC controller
- sdhci: Drop sdhci_free_host()/sdhci_pltfm_free() interface
- sdhci: Remove the sdhci_free_host() and sdhci_pltfm_free() helpers
- sdhci-cadence: Add support for the Mobileye EyeQ controller
- sdhci-esdhc-imx: Optimize clock loopback selection
- sdhci-esdhc-imx: Don't change pinctrl in suspend if wakeup source
- sdhci-msm: Add support for the Milos variant
- sdhci-msm: Add support for the qcs8300 variant
- sdhci-msm: Ensure SD card power isn't ON when card gets removed
- sdhci-of-k1: Disable HW busy detection
----------------------------------------------------------------
Adrian Hunter (1):
mmc: sdhci: Return void from sdhci_runtime_suspend|resume_host()
Avri Altman (1):
mmc: core: sd: Apply BROKEN_SD_DISCARD quirk earlier
BenoƮt Monin (3):
dt-bindings: mmc: cdns: add Mobileye EyeQ MMC/SDHCI controller
mmc: sdhci-cadence: add Mobileye eyeQ support
mmc: sdhci-cadence: use of_property_present
Binbin Zhou (75):
mmc: alcor: Use devm_mmc_alloc_host() helper
mmc: atmel: Use devm_mmc_alloc_host() helper
mmc: au1xmmc: Use devm_mmc_alloc_host() helper
mmc: bcm2835: Use devm_mmc_alloc_host() helper
mmc: cavium: Use devm_mmc_alloc_host() helper
mmc: cb710: Use devm_mmc_alloc_host() helper
mmc: davinci_mmc: Use devm_mmc_alloc_host() helper
mmc: dw_mmc: Use devm_mmc_alloc_host() helper
mmc: jz4740: Use devm_mmc_alloc_host() helper
mmc: litex_mmc: Use devm_mmc_alloc_host() helper
mmc: meson-mx-sdhc: Use devm_mmc_alloc_host() helper
mmc: mmci: Use devm_mmc_alloc_host() helper
mmc: moxart-mmc: Use devm_mmc_alloc_host() helper
mmc: mvsdio: Use devm_mmc_alloc_host() helper
mmc: mxcmmc: Use devm_mmc_alloc_host() helper
mmc: mxs-mmc: Use devm_mmc_alloc_host() helper
mmc: omap: Use devm_mmc_alloc_host() helper
mmc: omap_hsmmc: Use devm_mmc_alloc_host() helper
mmc: owl-mmc: Use devm_mmc_alloc_host() helper
mmc: pxamci: Use devm_mmc_alloc_host() helper
mmc: rtsx_pci: Use devm_mmc_alloc_host() helper
mmc: rtsx_usb_sdmmc: Use devm_mmc_alloc_host() helper
mmc: sdricoh_cs: Use devm_mmc_alloc_host() helper
mmc: sh_mmicf: Use devm_mmc_alloc_host() helper
mmc: tifm_sd: Use devm_mmc_alloc_host() helper
mmc: toshsd: Use devm_mmc_alloc_host() helper
mmc: usdhi6ro10: Use devm_mmc_alloc_host() helper
mmc: ushc: Use devm_mmc_alloc_host() helper
mmc: via-sdmmc: Use devm_mmc_alloc_host() helper
mmc: vub300: Use devm_mmc_alloc_host() helper
mmc: wbsd: Use devm_mmc_alloc_host() helper
mmc: wmt-sdmmc: Use devm_mmc_alloc_host() helper
mmc: tmio: Use devm_mmc_alloc_host() helper
mmc: sunxi: Use devm_mmc_alloc_host() helper
mmc: mmc_spi: Use devm_mmc_alloc_host() helper
mmc: sdhci: Use devm_mmc_alloc_host() helper
mmc: sdhci-acpi: Drop the use of sdhci_free_host()
mmc: sdhci-milbeaut: Drop the use of sdhci_free_host()
mmc: sdhci-pci: Drop the use of sdhci_free_host()
mmc: sdhci-s3c: Drop the use of sdhci_free_host()
mmc: sdhci-spear: Drop the use of sdhci_free_host()
mmc: sdhci-pltfm: Drop the use of sdhci_pltfm_free()
mmc: sdhci-bcm-kona: Drop the use of sdhci_pltfm_free()
mmc: sdhci-brcmstb: Drop the use of sdhci_pltfm_free()
mmc: sdhci-cadence: Drop the use of sdhci_pltfm_free()
mmc: sdhci-dove: Drop the use of sdhci_pltfm_free()
mmc: sdhci-esdhc-imx: Drop the use of sdhci_pltfm_free()
mmc: sdhci-esdhc-mcf: Drop the use of sdhci_pltfm_free()
mmc: sdhci-iproc: Drop the use of sdhci_pltfm_free()
mmc: sdhci-msm: Drop the use of sdhci_pltfm_free()
mmc: sdhci-npcm: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-arasan: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-aspeed: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-at91: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-dwcmshc: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-esdhc: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-k1: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-ma35d1: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-sparx5: Drop the use of sdhci_pltfm_free()
mmc: sdhci-omap: Drop the use of sdhci_pltfm_free()
mmc: sdhci-pic32: Drop the use of sdhci_pltfm_free()
mmc: sdhci-pxav2: Drop the use of sdhci_pltfm_free()
mmc: sdhci-pxav3: Drop the use of sdhci_pltfm_free()
mmc: sdhci-sprd: Drop the use of sdhci_pltfm_free()
mmc: sdhci-st: Drop the use of sdhci_pltfm_free()
mmc: sdhci-tegra: Drop the use of sdhci_pltfm_free()
mmc: sdhci-xenon: Drop the use of sdhci_pltfm_free()
mmc: sdhci_am654: Drop the use of sdhci_pltfm_free()
mmc: sdhci_f_sdh30: Drop the use of sdhci_pltfm_free()
mmc: sdhci: Drop sdhci_free_host()/sdhci_pltfm_free() interface
dt-bindings: mmc: Add Loongson-2K SD/SDIO/eMMC controller binding
mmc: loongson2: Add Loongson-2K SD/SDIO controller driver
dt-bindings: mmc: loongson,ls2k0500-mmc: Add compatible for Loongson-2K2000
mmc: loongson2: Add Loongson-2K2000 SD/SDIO/eMMC controller driver
mmc: loongson2: Unify the function prefixes for loongson2_mmc_pdata
Dan Carpenter (2):
mmc: sdhci-of-k1: Fix error code in probe()
mmc: loongson2: Fix error code in loongson2_mmc_resource_request()
Edson Juliano Drosdeck (1):
mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models
Frank Li (1):
dt-bindings: mmc: mxs-mmc: change ref to mmc-controller-common.yaml from mmc-controller.yaml
Haibo Chen (1):
mmc: sdhci-esdhc-imx: Don't change pinctrl in suspend if wakeup source
Judith Mendez (1):
mmc: sdhci_am654: Workaround for Errata i2312
Lad Prabhakar (1):
dt-bindings: mmc: renesas,sdhi: Document RZ/T2H and RZ/N2H support
Li Dong (2):
mmc: cb710-mmc: Convert ternary operator to str_plural() helper
mmc: Convert ternary operator to str_true_false() helper
Luca Weiss (1):
dt-bindings: mmc: sdhci-msm: document the Milos SDHCI Controller
Luke Wang (2):
mmc: sdhci-esdhc-imx: refactor clock loopback selection logic
mmc: sdhci-esdhc-imx: optimize clock loopback selection with dummy pad support
Masami Hiramatsu (Google) (2):
mtk-sd: Fix a pagefault in dma_unmap_sg() for not prepared data
mtk-sd: Prevent memory corruption from DMA map failure
Nathan Chancellor (2):
mmc: rtsx_usb_sdmmc: Fix clang -Wimplicit-fallthrough in sd_set_power_mode()
memstick: core: Zero initialize id_reg in h_memstick_read_dev_id()
Ricky Wu (1):
mmc: rtsx_usb_sdmmc: Add 74 clocks in poweron flow
Sakari Ailus (7):
PM: runtime: Document return values of suspend-related API functions
PM: runtime: Mark last busy stamp in pm_runtime_put_autosuspend()
PM: runtime: Mark last busy stamp in pm_runtime_put_sync_autosuspend()
PM: runtime: Mark last busy stamp in pm_runtime_autosuspend()
PM: runtime: Mark last busy stamp in pm_request_autosuspend()
Documentation: PM: *_autosuspend() functions update last busy time
mmc: Remove redundant pm_runtime_mark_last_busy() calls
Sarthak Garg (1):
mmc: sdhci-msm: Ensure SD card power isn't ON when card removed
Sayali Lokhande (1):
dt-bindings: mmc: Add sdhci compatible for qcs8300
Sergey Senozhatsky (1):
mtk-sd: reset host->mrq on prepare_data() error
Sergio Perez Gonzalez (1):
mmc: loongson2: prevent integer overflow in ret variable
Thomas Fourier (1):
mmc: bcm2835: Fix dma_unmap_sg() nents value
Ulf Hansson (11):
mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()
mmc: rtsx_usb_sdmmc: Print debug-messages at power-on/off errors
mmc: rtsx_usb_sdmmc: Convert sd_set_power_mode() into void
mmc: rtsx_usb_sdmmc: Re-work the code in sd_set_power_mode()
mmc: Merge branch fixes into next
Revert "mmc: sdhci: Disable SD card clock before changing parameters"
mmc: Merge branch fixes into next
mmc: Merge branch fixes into next
mmc: Merge branch fixes into next
mmc: Merge tag pm-runtime-6.17-rc1 into next
mmc: Merge branch fixes into next
Victor Shih (3):
mmc: core: Adjust some error messages for SD UHS-II cards
mmc: sdhci: Add a helper function for dump register in dynamic debug mode
mmc: sdhci-uhs2: Adjust some error messages and register dump for SD UHS-II card
Yixun Lan (2):
mmc: sdhci-of-k1: make register definition vendor specific
mmc: sdhci-of-k1: disable HW busy detection
Yoshihiro Shimoda (2):
mmc: host: tmio: Add .sdio_irq()
mmc: host: renesas_sdhi: Fix incorrect auto retuning for an SDIO card
.../devicetree/bindings/mmc/cdns,sdhci.yaml | 1 +
.../bindings/mmc/loongson,ls2k0500-mmc.yaml | 112 +++
Documentation/devicetree/bindings/mmc/mxs-mmc.yaml | 7 +-
.../devicetree/bindings/mmc/renesas,sdhi.yaml | 85 +-
.../devicetree/bindings/mmc/sdhci-msm.yaml | 2 +
Documentation/power/runtime_pm.rst | 50 +-
MAINTAINERS | 7 +
drivers/memstick/core/memstick.c | 2 +-
drivers/mmc/core/core.c | 1 -
drivers/mmc/core/quirks.h | 12 +-
drivers/mmc/core/sd_uhs2.c | 4 +-
drivers/mmc/host/Kconfig | 13 +
drivers/mmc/host/Makefile | 1 +
drivers/mmc/host/alcor.c | 20 +-
drivers/mmc/host/atmel-mci.c | 12 +-
drivers/mmc/host/au1xmmc.c | 14 +-
drivers/mmc/host/bcm2835.c | 8 +-
drivers/mmc/host/cavium.c | 10 +-
drivers/mmc/host/cb710-mmc.c | 8 +-
drivers/mmc/host/davinci_mmc.c | 22 +-
drivers/mmc/host/dw_mmc.c | 15 +-
drivers/mmc/host/jz4740_mmc.c | 40 +-
drivers/mmc/host/litex_mmc.c | 12 +-
drivers/mmc/host/loongson2-mmc.c | 1030 ++++++++++++++++++++
drivers/mmc/host/meson-mx-sdhc-mmc.c | 13 +-
drivers/mmc/host/mmc_spi.c | 4 +-
drivers/mmc/host/mmci.c | 32 +-
drivers/mmc/host/moxart-mmc.c | 40 +-
drivers/mmc/host/mtk-sd.c | 21 +-
drivers/mmc/host/mvsdio.c | 24 +-
drivers/mmc/host/mxcmmc.c | 31 +-
drivers/mmc/host/mxs-mmc.c | 31 +-
drivers/mmc/host/omap.c | 25 +-
drivers/mmc/host/omap_hsmmc.c | 20 +-
drivers/mmc/host/owl-mmc.c | 37 +-
drivers/mmc/host/pxamci.c | 42 +-
drivers/mmc/host/renesas_sdhi.h | 1 +
drivers/mmc/host/renesas_sdhi_core.c | 54 +-
drivers/mmc/host/rtsx_pci_sdmmc.c | 5 +-
drivers/mmc/host/rtsx_usb_sdmmc.c | 42 +-
drivers/mmc/host/sdhci-acpi.c | 11 +-
drivers/mmc/host/sdhci-bcm-kona.c | 2 -
drivers/mmc/host/sdhci-brcmstb.c | 1 -
drivers/mmc/host/sdhci-cadence.c | 34 +-
drivers/mmc/host/sdhci-dove.c | 12 +-
drivers/mmc/host/sdhci-esdhc-imx.c | 78 +-
drivers/mmc/host/sdhci-esdhc-mcf.c | 25 +-
drivers/mmc/host/sdhci-iproc.c | 18 +-
drivers/mmc/host/sdhci-milbeaut.c | 19 +-
drivers/mmc/host/sdhci-msm.c | 26 +-
drivers/mmc/host/sdhci-npcm.c | 15 +-
drivers/mmc/host/sdhci-of-arasan.c | 26 +-
drivers/mmc/host/sdhci-of-aspeed.c | 10 +-
drivers/mmc/host/sdhci-of-at91.c | 38 +-
drivers/mmc/host/sdhci-of-dwcmshc.c | 14 +-
drivers/mmc/host/sdhci-of-esdhc.c | 11 +-
drivers/mmc/host/sdhci-of-k1.c | 144 +--
drivers/mmc/host/sdhci-of-ma35d1.c | 23 +-
drivers/mmc/host/sdhci-of-sparx5.c | 24 +-
drivers/mmc/host/sdhci-omap.c | 23 +-
drivers/mmc/host/sdhci-pci-core.c | 31 +-
drivers/mmc/host/sdhci-pic32.c | 9 +-
drivers/mmc/host/sdhci-pltfm.c | 16 +-
drivers/mmc/host/sdhci-pltfm.h | 1 -
drivers/mmc/host/sdhci-pxav2.c | 26 +-
drivers/mmc/host/sdhci-pxav3.c | 17 +-
drivers/mmc/host/sdhci-s3c.c | 26 +-
drivers/mmc/host/sdhci-spear.c | 11 +-
drivers/mmc/host/sdhci-sprd.c | 34 +-
drivers/mmc/host/sdhci-st.c | 6 +-
drivers/mmc/host/sdhci-tegra.c | 9 +-
drivers/mmc/host/sdhci-uhs2.c | 20 +-
drivers/mmc/host/sdhci-xenon.c | 24 +-
drivers/mmc/host/sdhci.c | 26 +-
drivers/mmc/host/sdhci.h | 21 +-
drivers/mmc/host/sdhci_am654.c | 38 +-
drivers/mmc/host/sdhci_f_sdh30.c | 13 +-
drivers/mmc/host/sdricoh_cs.c | 10 +-
drivers/mmc/host/sh_mmcif.c | 17 +-
drivers/mmc/host/sunxi-mmc.c | 22 +-
drivers/mmc/host/tifm_sd.c | 7 +-
drivers/mmc/host/tmio_mmc.h | 2 +-
drivers/mmc/host/tmio_mmc_core.c | 24 +-
drivers/mmc/host/toshsd.c | 4 +-
drivers/mmc/host/uniphier-sd.c | 8 +-
drivers/mmc/host/usdhi6rol0.c | 30 +-
drivers/mmc/host/ushc.c | 4 +-
drivers/mmc/host/via-sdmmc.c | 7 +-
drivers/mmc/host/vub300.c | 16 +-
drivers/mmc/host/wbsd.c | 4 +-
drivers/mmc/host/wmt-sdmmc.c | 8 +-
include/linux/pm_runtime.h | 187 +++-
92 files changed, 2050 insertions(+), 1092 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mmc/loongson,ls2k0500-mmc.yaml
create mode 100644 drivers/mmc/host/loongson2-mmc.c
Powered by blists - more mailing lists