Skip to content

mmc: hisilicon: Convert dw-mshc bindings and fix dtbs

Bhargav Joshi linux-arm-kernel linux-devicetree linux-mmc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Patch 1:
- Grouped compatible strings into an enum.
- Replaced raw numbers with proper flags.
- Fixed property order and removed invalid hex values.
- Added explanation for clock order change in commit message.
- Collected Acked-by tag.
- Patch 2:
- No code changes.
- Collected Acked-by and Reviewed-by tags.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: mmc: hisilicon,hi3660-dw-mshc: Convert to DT schemaDocumentation/devicetree/bindings/mmc/hisilicon,hi3660-dw-mshc.yaml Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt+117 -732 replies
2/2arm64: dts: hisilicon: Rename dwmmc nodes to mmcarch/arm64/boot/dts/hisilicon/hi3660.dtsi arch/arm64/boot/dts/hisilicon/hi3670.dtsi arch/arm64/boot/dts/hisilicon/hi6220.dtsi+7 -70 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchZhangfei GaoKrzysztof Kozlowski
1/2A-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] mmc: hisilicon: Convert dw-mshc bindings and fix dtbs

This series converts the Hisilicon dw-mshc text bindings to DT schema format and cleans up legacy node names in Hisilicon board files.

While testing the new YAML schema, dtbs_check flagged the hi3660, hi3670, and hi6220 SoC files for using the non-standard 'dwmmc' node name prefix. resulting in warnings.

Patch 1 Convert to DT schema
Patch 2 updates the Hisilicon dtsi files to use standard 'mmc' node name.

Changes in v2:
- Patch 1:
- Grouped compatible strings into an enum.
- Replaced raw numbers with proper flags.
- Fixed property order and removed invalid hex values.
- Added explanation for clock order change in commit message.
- Collected Acked-by tag.
- Patch 2:
- No code changes.
- Collected Acked-by and Reviewed-by tags.

---
Note: this patch is part of the process for applying to GSoC device tree bindings conversion project #
https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings

- The file is enabled by arm64 defconfig (CONFIG_MMC_DW_K3=y)
- It is used in following

    /arch/arm64/boot/dts/hisilicon/hi3660.dtsi
    -included by /arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
    /arch/arm64/boot/dts/hisilicon/hi3670.dtsi
    -included by /arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts

Bhargav Joshi (2):
dt-bindings: mmc: hisilicon,hi3660-dw-mshc: Convert to DT schema
arm64: dts: hisilicon: Rename dwmmc nodes to mmc

 .../mmc/hisilicon,hi3660-dw-mshc.yaml         | 117 ++++++++++++++++++
 .../devicetree/bindings/mmc/k3-dw-mshc.txt    |  73 -----------
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi     |   4 +-
 arch/arm64/boot/dts/hisilicon/hi3670.dtsi     |   4 +-
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi     |   6 +-
 5 files changed, 124 insertions(+), 80 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/hisilicon,hi3660-dw-mshc.yaml
 delete mode 100644 Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
Signature · 1 line
2.53.0