Skip to contentSkip to conversation

dt-bindings: arm64: dts: mediatek: mt8365-evk: update compatible

PATCH In review Macpaul Lin 2 participants 4 messages Sep 12, 2023 – Sep 13, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/2 dt-bindings: arm64: dts: mediatek: mt8365-evk: update compatible

Update compatible of 'mediatek,mt8365-evk' from 'enum' to 'const'.

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

changes for v2:
- rebase this patch to follow the v5 patch set of mt8395.
- depends on https://lore.kernel.org/lkml/[email protected]/T/
- Fix description as a single board.

changes for v3:
- rebase this patch to follow the v6 patch set of mt8395.
- depends on https://lore.kernel.org/lkml/[email protected]/T/
- drop "Fixes:" tag in commit message.
- drop platform description update for mt8365-evk (Genio 350-EVK).

changes for v4:
- Replace "Fix" in commit message with "Update".
- Fix 'make dtbs_check W=1' error for 'const: mediatek,mt8365-evk'

Documentation/devicetree/bindings/arm/mediatek.yaml +1 -2
index 2e8ad49c3479..9031160ef41b 100644
@@ -245,8 +245,7 @@ properties:
               - mediatek,mt8183-pumpkin
           - const: mediatek,mt8183
       - items:
-          - enum:
-              - mediatek,mt8365-evk
+          - const: mediatek,mt8365-evk
           - const: mediatek,mt8365
       - description: MediaTek Genio 1200 Boards (Genio 1200 EVK)
         items:
Signature · 1 line
2.18.0
#1 lore raw

PATCH v4 2/2 arm64: dts: mediatek: rename mt8365-evk to mt8365-genio-350-evk

Rename mt8365-evk to mt8365-genio-350-evk for following the naming rules for MediaTek boards.

---
 arch/arm64/boot/dts/mediatek/Makefile                           | 2 +-
 .../dts/mediatek/{mt8365-evk.dts => mt8365-genio-350-evk.dts}   | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename arch/arm64/boot/dts/mediatek/{mt8365-evk.dts => mt8365-genio-350-evk.dts} (100%)

Changes for v1:
Changes for v2:
- None.
Changes for v3:
- New patch added into this patch set v3.
- depends on https://lore.kernel.org/lkml/[email protected]/T/
Changes for v4:
- No change.

arch/arm64/boot/dts/mediatek/Makefile +1 -1
index 10e640c6ae08..b5d529d66393 100644
@@ -52,6 +52,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r2.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r3.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
-dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-genio-350-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
arch/arm64/boot/dts/mediatek/mt8365-genio-350-evk.dts renamed from arch/arm64/boot/dts/mediatek/mt8365-evk.dts +0 -0
similarity index 100%
rename from arch/arm64/boot/dts/mediatek/mt8365-evk.dts
rename to arch/arm64/boot/dts/mediatek/mt8365-genio-350-evk.dts
Signature · 1 line
2.18.0
#2 lore raw
In reply to Macpaul Lin
Quoted 1 line · Macpaul Lin

Update compatible of 'mediatek,mt8365-evk' from 'enum' to 'const'.

This we see from the diff. But why? Sorry, this change is pointless. Also not really helpful, as the entry soon should be converted back to enum...

Quoted 1 line

Best regards,
Krzysztof

#3 lore raw
Quoted 11 lines · Krzysztof Kozlowski

External email : Please do not click links or open attachments until you have verified the sender or the content.

Quoted 1 line · Macpaul Lin

Update compatible of 'mediatek,mt8365-evk' from 'enum' to 'const'.

This we see from the diff. But why? Sorry, this change is pointless. Also not really helpful, as the entry soon should be converted back to enum...

Quoted 1 line

Okay, then this patch can be dropped now.
Will send v5 patch for renaming mt8365-evk.dts.

Quoted 3 lines

Best regards,
Krzysztof

Thanks
Macpaul Lin