Skip to contentSkip to conversation

dt-bindings: mfd: Rename mediatek,mt8195-scpsys.yaml

PATCH In review [email protected] 4 participants 5 messages Aug 30, 2022 – Sep 20, 2022

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

PATCH v2 1/1 dt-bindings: mfd: Rename mediatek,mt8195-scpsys.yaml

From: Matthias Brugger <[email protected]>

The file describes the scpsys node for all SoCs and not only the mt8195. Rename it to reflect this fact.

---

Changes in v2:
- Fix id

 .../mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml} (96%)
Documentation/devicetree/bindings/mfd/mediatek,scpsys.yaml renamed from Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml
rename to Documentation/devicetree/bindings/mfd/mediatek,scpsys.yaml
index 3737207d8504..1a5901ca90f5 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml#
+$id: http://devicetree.org/schemas/mfd/mediatek,scpsys.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: MediaTek System Control Processor System
Signature · 1 line
2.37.2
maintainer Acked-by on v2 1/1
#1 lore raw
Quoted 8 lines · On Tue, 30 Aug 2022 11:11:10 +0200, [email protected] wrote:

From: Matthias Brugger <[email protected]>

The file describes the scpsys node for all SoCs and not only the mt8195. Rename it to reflect this fact.

Quoted 9 lines

---

Changes in v2:
- Fix id

 .../mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml} (96%)
maintainer
#2 lore raw
In reply to [email protected]
Quoted 4 lines · On Tue, 30 Aug 2022, [email protected] wrote:

From: Matthias Brugger <[email protected]>

The file describes the scpsys node for all SoCs and not only the mt8195. Rename it to reflect this fact.

Actually, this is fairly typical. Same with actual drivers.

Both tend to adopt the name of the module first supported.

Quoted 28 lines

---

Changes in v2:
- Fix id

 .../mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml} (96%)
Documentation/devicetree/bindings/mfd/mediatek,scpsys.yaml renamed from Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml
rename to Documentation/devicetree/bindings/mfd/mediatek,scpsys.yaml
index 3737207d8504..1a5901ca90f5 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml#
+$id: http://devicetree.org/schemas/mfd/mediatek,scpsys.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: MediaTek System Control Processor System
Signature · 1 line
Lee Jones [李琼斯]
#3 lore raw
Quoted 11 lines · Lee Jones
Quoted 4 lines · On Tue, 30 Aug 2022, [email protected] wrote:

From: Matthias Brugger <[email protected]>

The file describes the scpsys node for all SoCs and not only the mt8195. Rename it to reflect this fact.

Actually, this is fairly typical. Same with actual drivers.

Both tend to adopt the name of the module first supported.

Well I think that's unfortunate as it can create confusion for people searching for the binding as well as people adding a new compatible as they might think each SoC should have a independent yaml file. For that I reason I think it makes sense to fix the naming.

Regards,
Matthias

Quoted 29 lines
Quoted 28 lines

---

Changes in v2:
- Fix id

  .../mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml}   | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename Documentation/devicetree/bindings/mfd/{mediatek,mt8195-scpsys.yaml => mediatek,scpsys.yaml} (96%)

Documentation/devicetree/bindings/mfd/mediatek,scpsys.yaml renamed from Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml
rename to Documentation/devicetree/bindings/mfd/mediatek,scpsys.yaml
index 3737207d8504..1a5901ca90f5 100644
@@ -1,7 +1,7 @@
  # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  %YAML 1.2
  ---
-$id: http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml#
+$id: http://devicetree.org/schemas/mfd/mediatek,scpsys.yaml#
  $schema: http://devicetree.org/meta-schemas/core.yaml#
 
  title: MediaTek System Control Processor System
maintainer
#4 lore raw
Quoted 10 lines · Matthias Brugger
Quoted 9 lines · Lee Jones
Quoted 4 lines · On Tue, 30 Aug 2022, [email protected] wrote:

From: Matthias Brugger <[email protected]>

The file describes the scpsys node for all SoCs and not only the mt8195. Rename it to reflect this fact.

Actually, this is fairly typical. Same with actual drivers.

Quoted 7 lines
Quoted 2 lines

Both tend to adopt the name of the module first supported.

Well I think that's unfortunate as it can create confusion for people searching for the binding as well as people adding a new compatible as they might think each SoC should have a independent yaml file. For that I reason I think it makes sense to fix the naming.

I'm not keen to open those flood-gates right now, sorry.

Signature · 1 line
Lee Jones [李琼斯]