Skip to content

mmc: dw_mmc: use standard "mmc" alias stem

John Keeping linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: dw_mmc: extract ctrl_id lookup to a functiondrivers/mmc/host/dw_mmc-k3.c drivers/mmc/host/dw_mmc.c drivers/mmc/host/dw_mmc.h+21 -90 replies
2/2mmc: dw_mmc: use standard "mmc" alias stemdrivers/mmc/host/dw_mmc.c+5 -15 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/2] mmc: dw_mmc: use standard "mmc" alias stem

dw_mmc uses the device index internally and currently derives this from a "mshcN" DT alias. But the standard DT alias used by the MMC core to assign the device index is "mmcN".

The first patch here creates a function to replace the two sites that do this mapping so that the second patch can switch to using "mmcN" if available (falling back to "mshcN" for compatibility if required).

John Keeping (2):
mmc: dw_mmc: extract ctrl_id lookup to a function
mmc: dw_mmc: use standard "mmc" alias stem

 drivers/mmc/host/dw_mmc-k3.c |  4 +---
 drivers/mmc/host/dw_mmc.c    | 28 ++++++++++++++++++++++------
 drivers/mmc/host/dw_mmc.h    |  2 ++
 3 files changed, 25 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.0