mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
d4b4bc98bb
Replace clock drivers for MT7988 with backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
76 lines
3.3 KiB
Diff
76 lines
3.3 KiB
Diff
From cc4d9e0c77494fcf6bccbc57e23db0007cf681b7 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Thu, 26 Jan 2023 03:33:46 +0000
|
|
Subject: [PATCH] dt-bindings: clock: Add compatibles for MT7981
|
|
|
|
Add compatible string for MT7981 to existing bindings at
|
|
- mediatek,apmixedsys.yaml
|
|
- mediatek,topckgen.yaml
|
|
- mediatek,ethsys.txt
|
|
- mediatek,infracfg.yaml
|
|
- mediatek,sgmiisys.txt
|
|
|
|
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
Link: https://lore.kernel.org/r/cc85ee470c781ff4013f6c21c92c0a21574b12b2.1674703830.git.daniel@makrotopia.org
|
|
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
|
|
---
|
|
.../devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 +
|
|
.../devicetree/bindings/arm/mediatek/mediatek,infracfg.yaml | 1 +
|
|
.../devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt | 2 ++
|
|
.../devicetree/bindings/clock/mediatek,apmixedsys.yaml | 1 +
|
|
Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml | 1 +
|
|
5 files changed, 6 insertions(+)
|
|
|
|
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
|
|
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt
|
|
@@ -10,6 +10,7 @@ Required Properties:
|
|
- "mediatek,mt7622-ethsys", "syscon"
|
|
- "mediatek,mt7623-ethsys", "mediatek,mt2701-ethsys", "syscon"
|
|
- "mediatek,mt7629-ethsys", "syscon"
|
|
+ - "mediatek,mt7981-ethsys", "syscon"
|
|
- "mediatek,mt7986-ethsys", "syscon"
|
|
- #clock-cells: Must be 1
|
|
- #reset-cells: Must be 1
|
|
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.yaml
|
|
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.yaml
|
|
@@ -28,6 +28,7 @@ properties:
|
|
- mediatek,mt6797-infracfg
|
|
- mediatek,mt7622-infracfg
|
|
- mediatek,mt7629-infracfg
|
|
+ - mediatek,mt7981-infracfg
|
|
- mediatek,mt7986-infracfg
|
|
- mediatek,mt8135-infracfg
|
|
- mediatek,mt8167-infracfg
|
|
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt
|
|
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sgmiisys.txt
|
|
@@ -8,6 +8,8 @@ Required Properties:
|
|
- compatible: Should be:
|
|
- "mediatek,mt7622-sgmiisys", "syscon"
|
|
- "mediatek,mt7629-sgmiisys", "syscon"
|
|
+ - "mediatek,mt7981-sgmiisys_0", "syscon"
|
|
+ - "mediatek,mt7981-sgmiisys_1", "syscon"
|
|
- "mediatek,mt7986-sgmiisys_0", "syscon"
|
|
- "mediatek,mt7986-sgmiisys_1", "syscon"
|
|
- #clock-cells: Must be 1
|
|
--- a/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml
|
|
+++ b/Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml
|
|
@@ -20,6 +20,7 @@ properties:
|
|
- enum:
|
|
- mediatek,mt6797-apmixedsys
|
|
- mediatek,mt7622-apmixedsys
|
|
+ - mediatek,mt7981-apmixedsys
|
|
- mediatek,mt7986-apmixedsys
|
|
- mediatek,mt8135-apmixedsys
|
|
- mediatek,mt8173-apmixedsys
|
|
--- a/Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml
|
|
+++ b/Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml
|
|
@@ -35,6 +35,7 @@ properties:
|
|
- mediatek,mt6779-topckgen
|
|
- mediatek,mt6795-topckgen
|
|
- mediatek,mt7629-topckgen
|
|
+ - mediatek,mt7981-topckgen
|
|
- mediatek,mt7986-topckgen
|
|
- mediatek,mt8167-topckgen
|
|
- mediatek,mt8183-topckgen
|