Skip to content

mmc: core: Preparations to support SD UHS-II cards

Ulf Hansson linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmc: core: Cleanup printing of speed mode at card insertiondrivers/mmc/core/bus.c+20 -160 replies
2/4mmc: core: Prepare to support SD UHS-II cardsdrivers/mmc/core/Makefile drivers/mmc/core/core.c drivers/mmc/core/core.h +3 more+332 -22 replies
3/4mmc: core: Announce successful insertion of an SD UHS-II carddrivers/mmc/core/bus.c drivers/mmc/core/host.h+8 -10 replies
4/4mmc: core: Extend support for mmc regulators with a vqmmc2drivers/mmc/core/regulator.c include/linux/mmc/host.h+45 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mmc: core: Preparations to support SD UHS-II cards

A series [1] that has been collaborative worked upon by Takahiro Akashi (Linaro) and Ben Chuang (Genesys Logic) is targeting to add SD UHS-II support to the mmc subsystem.

Throughout the reviews, we realized that the changes affecting the mmc core to support the UHS-II interface/protocol might not be entirely straightforward to implement. Especially, I expressed some concerns about the code that manages power on/off, initialization and power management of a SD UHS-II card.

Therefore, I have posted this small series to try to help to put some of the foundation in the mmc core in place. Hopefully this can provide some guidance and an overall structure, of how I think the code could evolve.

More details are available in the commit messages and through comments in the code, for each path.

Kind regards
Uffe

[1]
https://lkml.org/lkml/2020/11/5/1472

Ulf Hansson (4):
mmc: core: Cleanup printing of speed mode at card insertion
mmc: core: Prepare to support SD UHS-II cards
mmc: core: Announce successful insertion of an SD UHS-II card
mmc: core: Extend support for mmc regulators with a vqmmc2

 drivers/mmc/core/Makefile    |   2 +-
 drivers/mmc/core/bus.c       |  38 +++--
 drivers/mmc/core/core.c      |  17 ++-
 drivers/mmc/core/core.h      |   1 +
 drivers/mmc/core/host.h      |   5 +
 drivers/mmc/core/regulator.c |  34 +++++
 drivers/mmc/core/sd_uhs2.c   | 289 +++++++++++++++++++++++++++++++++++
 include/linux/mmc/card.h     |   6 +
 include/linux/mmc/host.h     |  30 ++++
 9 files changed, 404 insertions(+), 18 deletions(-)
 create mode 100644 drivers/mmc/core/sd_uhs2.c
Signature · 1 line
2.25.1