Thread (7 messages) 7 messages, 3 authors, 2026-01-23

Re: [PATCH 0/3] Remove deprecated mshc alias support from dw_mmc

From: Ulf Hansson <hidden>
Date: 2026-01-23 10:15:12
Also in: linux-devicetree, linux-mmc

On Fri, 23 Jan 2026 at 02:41, Shawn Lin [off-list ref] wrote:

The support for the mshc alias has long been deprecated[1], as the mmc core
already provides standard alias support for obtaining the controller ID[2].
With mshc aliases removed from the last Rk3036 plaform[3], the only remaining
users are the HiSilicon hi3660-hikey960 and hi3670-hikey970 boards. This patch
series removes support for mshc from the dwmmc driver and updates the DTS files
for the hi3660-hikey960 and hi3670-hikey970 to use the standard mmc alias instead.
Considering that the hikey960 and hikey970 are open development boards, users are
expected to use newer kernels, and the need to adapt old DTBs to new kernels is
relatively low. Therefore, backward compatibility of DTBs is likely not a major
concern here.

[1] https://lore.kernel.org/linux-rockchip/20211124184603.3897245-1-john@metanate.com/ (local)
[2] Documentation/devicetree/bindings/mmc/mmc-controller.yaml
[3] https://lore.kernel.org/linux-rockchip/c6feab79-5b73-413b-a94f-9d1b2fa6df43@gmail.com/ (local)



Shawn Lin (3):
  mmc: dw_mmc-k3: Remove mshc alias support
  mmc: dw_mmc: Remove mshc alias support
  arm64: dts: hisilicon: hikey960/970: Convert to use standard mmc alias

 arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts |  4 ++--
 arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts |  4 ++--
 drivers/mmc/host/dw_mmc-k3.c                      | 22 +++++++++-------------
 drivers/mmc/host/dw_mmc.c                         |  9 +++------
 4 files changed, 16 insertions(+), 23 deletions(-)

--
2.7.4
In general I think this makes sense, but we need to make sure that
patch3 is merged before we drop the mshc alias support in the dw_mmc
driver, so please re-order the patches in the series to make this
clear.

If we agree that the $subjeect series makes sense, I could potentially
help by taking the DTS patch too via my mmc tree.

Kind regards
Uffe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help