mbox series

[GIT,PULL] MMC updates for v6.12

Message ID 20240916145352.388340-1-ulf.hansson@linaro.org
State New
Headers show
Series [GIT,PULL] MMC updates for v6.12 | expand

Pull-request

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

Message

Ulf Hansson Sept. 16, 2024, 2:53 p.m. UTC
Hi Linus,

Here's the pull-request for MMC v6.12.

Please note, this pull-request also introduces a new subsystem for so called
Replay Protected Memory Block (RPMB) in drivers/misc/. The first provider
that implements RPMB support is the MMC subsystem for eMMC cards, while the
consumer is the tee/optee subsystem.

More details are available in the commit message that introduces the RPMB
subsystem along with the usual highlights for MMC in the signed tag.

Please pull this in!

Kind regards
Ulf Hansson

The following changes since commit aea62c744a9ae2a8247c54ec42138405216414da:

  mmc: cqhci: Fix checking of CQHCI_HALT state (2024-09-03 14:20:51 +0200)

are available in the Git repository at:

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

for you to fetch changes up to cd3689b6772fbc1a4513934a5204fd2fa5b4426b:

  mmc: core: Use dev_err_probe for deferred regulators (2024-09-13 14:09:29 +0200)

----------------------------------------------------------------
MMC core:
 - Add documentation for the mmc-test driver
 - Register the eMMC RPMB partition with the RPMB subsystem
 - Some various cleanups

MMC host:
 - dw_mmc-rockchip: Add support for the RK3576 variant
 - renesas_sdhi: Add support for the RZ/V2H(P) variant
 - sdhci_am654: Add a retry mechanism for tuning
 - sdhci-atmel: Convert DT bindings to json schema
 - sdhci-of-dwcmshc: Add eMMC HW reset support for BlueField-3 SoC
 - sdhci-of-dwcmshc: Add support for the RK3576 variant
 - sdhci-of-dwcmshc: Add support for the Sophgo SG2042 variant
 - sdhci-of-ma35d1: Add new driver for the Nuvoton MA35D1 SDHCI

Misc/Tee:
 - Add Replay Protected Memory Block (RPMB) subsystem
 - Let optee probe RPMB device using RPMB subsystem

----------------------------------------------------------------
Alexander Stein (1):
      mmc: core: Use dev_err_probe for deferred regulators

Avri Altman (2):
      mmc: core Convert UNSTUFF_BITS macro to inline function
      Documentation: mmc: Add mmc-test doc

Chanwoo Lee (1):
      mmc: core: Replace the argument of mmc_sd_switch() with defines

Chen Wang (7):
      mmc: sdhci-of-dwcmshc: add common bulk optional clocks support
      mmc: sdhci-of-dwcmshc: move two rk35xx functions
      mmc: sdhci-of-dwcmshc: factor out code for th1520_init()
      mmc: sdhci-of-dwcmshc: factor out code into dwcmshc_rk35xx_init
      mmc: sdhci-of-dwcmshc: add dwcmshc_pltfm_data
      dt-bindings: mmc: sdhci-of-dwcmhsc: Add Sophgo SG2042 support
      mmc: sdhci-of-dwcmshc: Add support for Sophgo SG2042

Christophe JAILLET (1):
      mmc: core: Remove struct mmc_context_info

Dan Carpenter (1):
      optee: Fix a NULL vs IS_ERR() check

Detlev Casanova (3):
      dt-bindings: mmc: Add support for rk3576 dw-mshc
      mmc: dw_mmc-rockchip: Add support for rk3576 SoCs
      dt-bindings: mmc: Add support for rk3576 eMMC

Dharma Balasubiramani (1):
      dt-bindings: mmc: sdhci-atmel: Convert to json schema

Doug Brown (1):
      mmc: sdhci-pxav2: Remove unnecessary null pointer check

Jens Wiklander (7):
      rpmb: add Replay Protected Memory Block (RPMB) subsystem
      mmc: block: register RPMB partition with the RPMB subsystem
      tee: add tee_device_set_dev_groups()
      optee: probe RPMB device using RPMB subsystem
      mmc: block: add RPMB dependency
      optee: add RPMB dependency
      rpmb: fix error path in rpmb_dev_register()

Judith Mendez (2):
      mmc: sdhci_am654: Add retry tuning
      mmc: sdhci_am654: Add prints to tuning algorithm

Krzysztof Kozlowski (1):
      dt-bindings: mmc: renesas,sdhi: add top-level constraints

Lad Prabhakar (4):
      dt-bindings: mmc: renesas,sdhi: Document RZ/V2H(P) support
      mmc: tmio: Use MMC core APIs to control the vqmmc regulator
      mmc: renesas_sdhi: Add RZ/V2H(P) compatible string
      dt-bindings: mmc: renesas,sdhi: Remove duplicate compatible and add clock checks

Liming Sun (1):
      mmc: sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC

Riyan Dhiman (2):
      mmc: core: Calculate size from pointer
      mmc: core: Convert simple_stroul to kstroul

Seunghwan Baek (1):
      mmc: cqhci: Make use of cqhci_halted() routine

Shan-Chun Hung (2):
      dt-bindings: mmc: nuvoton,ma35d1-sdhci: Document MA35D1 SDHCI controller
      mmc: sdhci-of-ma35d1: Add Nuvoton MA35D1 SDHCI driver

Shawn Lin (1):
      mmc: dw_mmc-rockchip: Add internal phase support

Thorsten Blum (1):
      mmc: mtk-sd: Improve data type in msdc_timeout_cal()

Ulf Hansson (3):
      mmc: Merge branch fixes into next
      mmc: Merge branch fixes into next
      mmc: Merge branch fixes into next

Vladimir Zapolskiy (1):
      mmc: core: remove left-over data structure declarations

 Documentation/ABI/testing/sysfs-class-tee          |  15 +
 .../bindings/mmc/atmel,sama5d2-sdhci.yaml          |  92 ++++
 .../bindings/mmc/nuvoton,ma35d1-sdhci.yaml         |  87 ++++
 .../devicetree/bindings/mmc/renesas,sdhi.yaml      |  13 +-
 .../devicetree/bindings/mmc/rockchip-dw-mshc.yaml  |   2 +
 .../devicetree/bindings/mmc/sdhci-atmel.txt        |  35 --
 .../bindings/mmc/snps,dwcmshc-sdhci.yaml           |  95 ++--
 Documentation/driver-api/mmc/index.rst             |   1 +
 Documentation/driver-api/mmc/mmc-test.rst          | 299 +++++++++++++
 MAINTAINERS                                        |   8 +
 drivers/misc/Kconfig                               |  10 +
 drivers/misc/Makefile                              |   1 +
 drivers/misc/rpmb-core.c                           | 231 ++++++++++
 drivers/mmc/core/Kconfig                           |   1 +
 drivers/mmc/core/block.c                           | 250 ++++++++++-
 drivers/mmc/core/mmc.c                             | 106 ++---
 drivers/mmc/core/mmc_ops.h                         |  14 +
 drivers/mmc/core/regulator.c                       |   8 +-
 drivers/mmc/core/sd.c                              | 133 +++---
 drivers/mmc/core/sd_ops.c                          |   3 +-
 drivers/mmc/host/Kconfig                           |  12 +
 drivers/mmc/host/Makefile                          |   1 +
 drivers/mmc/host/cqhci-core.c                      |  14 +-
 drivers/mmc/host/dw_mmc-rockchip.c                 | 217 +++++++++-
 drivers/mmc/host/mtk-sd.c                          |  11 +-
 drivers/mmc/host/renesas_sdhi_internal_dmac.c      |   1 +
 drivers/mmc/host/sdhci-of-dwcmshc.c                | 478 ++++++++++++++-------
 drivers/mmc/host/sdhci-of-ma35d1.c                 | 314 ++++++++++++++
 drivers/mmc/host/sdhci-pxav2.c                     |   2 +-
 drivers/mmc/host/sdhci_am654.c                     |  54 ++-
 drivers/mmc/host/tmio_mmc_core.c                   |   7 +-
 drivers/tee/optee/Kconfig                          |   1 +
 drivers/tee/optee/core.c                           |  96 ++++-
 drivers/tee/optee/device.c                         |   7 +
 drivers/tee/optee/ffa_abi.c                        |  14 +
 drivers/tee/optee/optee_ffa.h                      |   2 +
 drivers/tee/optee/optee_private.h                  |  26 +-
 drivers/tee/optee/optee_rpc_cmd.h                  |  35 ++
 drivers/tee/optee/optee_smc.h                      |   2 +
 drivers/tee/optee/rpc.c                            | 177 ++++++++
 drivers/tee/optee/smc_abi.c                        |  14 +
 drivers/tee/tee_core.c                             |  19 +-
 include/linux/mmc/core.h                           |  12 -
 include/linux/mmc/host.h                           |  27 +-
 include/linux/rpmb.h                               | 123 ++++++
 include/linux/tee_core.h                           |  12 +
 46 files changed, 2633 insertions(+), 449 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-tee
 create mode 100644 Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml
 create mode 100644 Documentation/devicetree/bindings/mmc/nuvoton,ma35d1-sdhci.yaml
 delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
 create mode 100644 Documentation/driver-api/mmc/mmc-test.rst
 create mode 100644 drivers/misc/rpmb-core.c
 create mode 100644 drivers/mmc/host/sdhci-of-ma35d1.c
 create mode 100644 include/linux/rpmb.h