public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Remove deprecated mshc alias support from dw_mmc
@ 2026-01-23 12:24 Shawn Lin
  2026-01-23 12:24 ` [PATCH v2 1/3] arm64: dts: hisilicon: hikey960/970: Convert to use standard mmc alias Shawn Lin
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Shawn Lin @ 2026-01-23 12:24 UTC (permalink / raw)
  To: Ulf Hansson, Wei Xu
  Cc: linux-mmc, devicetree, linux-arm-kernel, Jaehoon Chung, Shawn Lin


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/


Changes in v2:
- Fix a warning(lkp)
- reorder patch sequence

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

 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                      | 23 ++++++++---------------
 drivers/mmc/host/dw_mmc.c                         |  9 +++------
 4 files changed, 15 insertions(+), 25 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-27 11:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23 12:24 [PATCH v2 0/3] Remove deprecated mshc alias support from dw_mmc Shawn Lin
2026-01-23 12:24 ` [PATCH v2 1/3] arm64: dts: hisilicon: hikey960/970: Convert to use standard mmc alias Shawn Lin
2026-01-26 12:08   ` Wei Xu
2026-01-23 12:24 ` [PATCH v2 2/3] mmc: dw_mmc-k3: Remove mshc alias support Shawn Lin
2026-01-23 12:24 ` [PATCH v2 3/3] mmc: dw_mmc: " Shawn Lin
2026-01-27 11:01 ` [PATCH v2 0/3] Remove deprecated mshc alias support from dw_mmc Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox