Hi Linus, Here's the PR with the MMC updates for v5.18. There are no updates 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 1760fdb6fe9f796fbdb9b4106b3e0bbacc16b55c: mmc: core: Restore (almost) the busy polling for MMC_SEND_OP_COND (2022-03-07 11:47:39 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v5.18 for you to fetch changes up to dc3d879c6ffa25e90875237265898e49b2cabb7e: dt-bindings: mmc: renesas,sdhi: Document RZ/G2UL SoC (2022-03-17 11:06:29 +0100) ---------------------------------------------------------------- MMC core: - Convert to sysfs_emit() in favor of sprintf() - Improve fallback to speed modes if eMMC HS200 fails MMC host: - dw_mmc: Allow variants to set minimal supported clock rate - dw-mmc-rockchip: Fix problems with invalid clock rates - litex_mmc: Add new DT based driver for the LiteX's LiteSDCard interface - litex_mmc: Add Gabriel Somlo and Joel Stanley as co-maintainers for LiteX - mtk-sd: Add support for the Mediatek MT8186 variant - renesas_sdhi: Add support for RZ/G2UL variant - renesas_sdhi: Add support for RZ/V2L variant - rtsx_pci: Adjust power-on sequence to conform to the SD spec - sdhci-am654: Add support for TI's AM62 variant - sdhci_am654: Fixup support for TI's AM64 variant - sdhci-esdhc-imx: Add support for the imx93 variant - sdhci-msm: Add support for the msm8953 variant - sdhci-pci-gli: Add support for runtime PM for the GL9763E variant - sdhci-pci-gli: Adjustments of the SSC function for the GL975x variants - sdhci-tegra: Add support for wake on SD card event - sunxi-mmc: Add support for Allwinner's F1c100s variant - sunxi-mmc: Add support for D1 MMC variant ---------------------------------------------------------------- Alexandre Bailon (1): mmc: mtk-sd: Silence delay phase calculation debug log Allen-KH Cheng (1): dt-bindings: mmc: Add compatible for Mediatek MT8186 Andy Shevchenko (1): mmc: dw_mmc: Use device_property_string_array_count() Aniruddha Rao (1): mmc: sdhci-tegra: Enable wake on SD card event Aswath Govindraju (3): mmc: sdhci_am654: Fix the driver data of AM64 SoC dt-bindings: mmc: sdhci-am654: Add compatible string for AM62 SoC mmc: sdhci_am654: Add Support for TI's AM62 SoC Bean Huo (4): mmc: wmt-sdmmc: Use of_device_get_match_data() helper mmc: sdhci-tegra: Use of_device_get_match_data() helper mmc: sdhci-of-at91: Use of_device_get_match_data() helper mmc: davinci: Use of_device_get_match_data() helper Ben Chuang (4): mmc: sdhci-pci-gli: Reduce the SSC value at 205MHz for GL9750 and GL9755 mmc: sdhci-pci-gli: Enable SSC at 50MHz and 100MHz for GL9750 and GL9755 mmc: sdhci-pci-gli: Add a switch to enable/disable SSC for GL9750 and GL9755 mmc: sdhci-pci-gli: Add runtime PM for GL9763E Biju Das (1): dt-bindings: mmc: renesas,sdhi: Document RZ/G2UL SoC Gabriel Somlo (3): MAINTAINERS: co-maintain LiteX platform dt-bindings: mmc: Add bindings for LiteSDCard mmc: Add driver for LiteX's LiteSDCard interface Geert Uytterhoeven (2): mmc: sh_mmcif: Simplify division/shift logic mmc: host: Drop commas after SoC match table sentinels Jesse Taube (1): dt-bindings: mmc: sunxi: add Allwinner F1c100s compatible Jiasheng Jiang (1): mmc: davinci_mmc: Handle error for clk_enable Lad Prabhakar (1): dt-bindings: mmc: renesas,sdhi: Document RZ/V2L SoC Luca Weiss (1): dt-bindings: mmc: sdhci-msm: Add msm8953 compatible Peng Fan (1): dt-bindings: mmc: imx-esdhc: Add imx93 compatible string Peter Geis (2): mmc: dw_mmc: Support setting f_min from host drivers mmc: dw-mmc-rockchip: Fix handling invalid clock rates Ricky WU (1): mmc: rtsx: add 74 Clocks in power on flow Samuel Holland (2): dt-bindings: mmc: sunxi: Add D1 MMC and eMMC compatibles mmc: sunxi-mmc: Add D1 MMC variant Sergey Shtylyov (1): mmc: core: use sysfs_emit() instead of sprintf() Ulf Hansson (5): Merge branch 'fixes' into next Merge branch 'fixes' into next mmc: core: Improve fallback to speed modes if eMMC HS200 fails mmc: host: Return an error when ->enable_sdio_irq() ops is missing mmc: core: Drop HS400 caps unless 8-bit bus is supported too Wen Zhiwei (1): mmc: dw_mmc: Fix potential null pointer risk Wolfram Sang (1): mmc: tmio: remove outdated members from host struct .../bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 7 + .../devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 1 + .../devicetree/bindings/mmc/litex,mmc.yaml | 78 +++ Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 3 + .../devicetree/bindings/mmc/renesas,sdhi.yaml | 7 +- .../devicetree/bindings/mmc/sdhci-am654.yaml | 1 + .../devicetree/bindings/mmc/sdhci-msm.txt | 1 + MAINTAINERS | 9 +- drivers/mmc/core/bus.c | 9 +- drivers/mmc/core/bus.h | 3 +- drivers/mmc/core/host.c | 24 +- drivers/mmc/core/mmc.c | 37 +- drivers/mmc/core/sd.c | 25 +- drivers/mmc/core/sdio.c | 5 +- drivers/mmc/core/sdio_bus.c | 7 +- drivers/mmc/host/Kconfig | 13 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/davinci_mmc.c | 12 +- drivers/mmc/host/dw_mmc-rockchip.c | 27 +- drivers/mmc/host/dw_mmc.c | 12 +- drivers/mmc/host/dw_mmc.h | 2 + drivers/mmc/host/litex_mmc.c | 661 +++++++++++++++++++++ drivers/mmc/host/mtk-sd.c | 4 +- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 2 +- drivers/mmc/host/rtsx_pci_sdmmc.c | 29 +- drivers/mmc/host/sdhci-of-at91.c | 6 +- drivers/mmc/host/sdhci-of-esdhc.c | 10 +- drivers/mmc/host/sdhci-pci-gli.c | 133 ++++- drivers/mmc/host/sdhci-tegra.c | 15 +- drivers/mmc/host/sdhci_am654.c | 28 +- drivers/mmc/host/sh_mmcif.c | 7 +- drivers/mmc/host/sunxi-mmc.c | 9 + drivers/mmc/host/tmio_mmc.h | 4 - drivers/mmc/host/wmt-sdmmc.c | 7 +- 34 files changed, 1076 insertions(+), 123 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/litex,mmc.yaml create mode 100644 drivers/mmc/host/litex_mmc.c