[PATCH 0/3] Remove deprecated mshc alias support from dw_mmc
Ulf Hansson
ulf.hansson at linaro.org
Fri Jan 23 02:14:33 PST 2026
On Fri, 23 Jan 2026 at 02:41, Shawn Lin <shawn.lin at rock-chips.com> 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/
> [2] Documentation/devicetree/bindings/mmc/mmc-controller.yaml
> [3] https://lore.kernel.org/linux-rockchip/c6feab79-5b73-413b-a94f-9d1b2fa6df43@gmail.com/
>
>
>
> 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
More information about the linux-arm-kernel
mailing list