Skip to contentSkip to conversation

dt-bindings: arm: mediatek: mediatek,g3dsys: Convert to DT schema

PATCH Superseded Udaya Kiran Challa 2 participants 4 messages Mar 26 – Aug 13

Subsystems (2)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 dt-bindings: arm: mediatek: mediatek,g3dsys: Convert to DT schema

Convert the MediaTek G3D system controller devicetree binding from the legacy text format to DT schema.

---
Changelog:
Changes since v3:
- Fix $id path to match new location

Link to v3:https://lore.kernel.org/all/[email protected]/

Changes since v2:
- Move binding to soc/mediatek directory
- Rename file to mediatek,mt2701-g3dsys.yaml based on fallback compatible

Link to v2:https://lore.kernel.org/all/[email protected]/

Changes since v1:
- Drop redundant description for reg
- Drop redundant description for provider properties

Link to v1:https://lore.kernel.org/all/[email protected]/

---
 .../bindings/arm/mediatek/mediatek,g3dsys.txt | 30 ----------
 .../soc/mediatek/mediatek,mt2701-g3dsys.yaml  | 58 +++++++++++++++++++
 2 files changed, 58 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt
 create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt2701-g3dsys.yaml
Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt deleted +0 -30
deleted file mode 100644
index 7de43bf41fdc..000000000000
@@ -1,30 +0,0 @@
-MediaTek g3dsys controller
-============================
-
-The MediaTek g3dsys controller provides various clocks and reset controller to
-the GPU.
-
-Required Properties:
-
-- compatible: Should be:
-	- "mediatek,mt2701-g3dsys", "syscon":
-		for MT2701 SoC
-	- "mediatek,mt7623-g3dsys", "mediatek,mt2701-g3dsys", "syscon":
-		for MT7623 SoC
-- #clock-cells: Must be 1
-- #reset-cells: Must be 1
-
-The g3dsys controller uses the common clk binding from
-Documentation/devicetree/bindings/clock/clock-bindings.txt
-The available clocks are defined in dt-bindings/clock/mt*-clk.h.
-
-Example:
-
-g3dsys: clock-controller@13000000 {
-	compatible = "mediatek,mt7623-g3dsys",
-		     "mediatek,mt2701-g3dsys",
-		     "syscon";
-	reg = <0 0x13000000 0 0x200>;
-	#clock-cells = <1>;
-	#reset-cells = <1>;
-};
Documentation/devicetree/bindings/soc/mediatek/mediatek,mt2701-g3dsys.yaml new file +58 -0

58 lines not on this page · raw message

Signature · 1 line
2.34.1
#3 lore raw
Quoted 10 lines · Uday Kiran
Quoted 7 lines · Udaya Kiran Challa
Quoted 4 lines

Convert the MediaTek G3D system controller devicetree binding from the legacy text format to DT schema.

Thank you, Krzysztof. This patch has not yet been merged into the mainline. Please let me know if any updates are required from my side.

This should be taken by mediatek SoC maintainers, but they were not Cc-ed, probably because of missing maintainers patterns.

See also (I think wasn't picked up eventually):
https://lore.kernel.org/all/[email protected]/

Best regards,
Krzysztof