Skip to contentSkip to conversation

Add MT7623 dts bindings documentation

PATCH In review Matthias Brugger 1 participant 6 messages Oct 3, 2018 – Oct 5, 2018

Subsystems (7)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

cover Add MT7623 dts bindings documentation

Mediateks MT7623 SoC shares most of its component with MT2701. This series adds devicetree documentation for all the devices.

It applies cleanly against linux next, so I don't expect any merge conflicts if this is taken by Arnd through the arm-soc tree for v4.20

author maintainer
#1 lore raw

PATCH 1/4 dt-bindings: clock: mediatek: add support for MT7623

This patch adds bindings for apmixedsys, audsys, bpsys, ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and vdecsys for MT6723.

---
 .../devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt     | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,audsys.txt         | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt         | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,ethsys.txt         | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,hifsys.txt         | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,imgsys.txt         | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,infracfg.txt       | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,mmsys.txt          | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,pericfg.txt        | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,topckgen.txt       | 1 +
 .../devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt        | 1 +
 11 files changed, 11 insertions(+)
Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt +1 -0
index b404d592ce58..4e4a3c0ab9ab 100644
@@ -10,6 +10,7 @@ Required Properties:
 	- "mediatek,mt2712-apmixedsys", "syscon"
 	- "mediatek,mt6797-apmixedsys"
 	- "mediatek,mt7622-apmixedsys"
+	- "mediatek,mt7623-apmixedsys", "mediatek,mt2701-apmixedsys"
 	- "mediatek,mt8135-apmixedsys"
 	- "mediatek,mt8173-apmixedsys"
 - #clock-cells: Must be 1
Documentation/devicetree/bindings/arm/mediatek/mediatek,audsys.txt +1 -0
index 34a69ba67f13..d1606b2c3e63 100644
@@ -8,6 +8,7 @@ Required Properties:
 - compatible: Should be one of:
 	- "mediatek,mt2701-audsys", "syscon"
 	- "mediatek,mt7622-audsys", "syscon"
+	- "mediatek,mt7623-audsys", "mediatek,mt2701-audsys", "syscon"
 - #clock-cells: Must be 1
 
 The AUDSYS controller uses the common clk binding from
Documentation/devicetree/bindings/arm/mediatek/mediatek,bdpsys.txt +1 -0
index 4010e37c53a0..149567a38215 100644
@@ -8,6 +8,7 @@ Required Properties:
 - compatible: Should be:
 	- "mediatek,mt2701-bdpsys", "syscon"
 	- "mediatek,mt2712-bdpsys", "syscon"
+	- "mediatek,mt7623-bdpsys", "mediatek,mt2701-bdpsys", "syscon"
 - #clock-cells: Must be 1
 
 The bdpsys controller uses the common clk binding from
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +1 -0
index 8f5335b480ac..f17cfe64255d 100644
@@ -8,6 +8,7 @@ Required Properties:
 - compatible: Should be:
 	- "mediatek,mt2701-ethsys", "syscon"
 	- "mediatek,mt7622-ethsys", "syscon"
+	- "mediatek,mt7623-ethsys", "mediatek,mt2701-ethsys", "syscon"
 - #clock-cells: Must be 1
 - #reset-cells: Must be 1
 
Documentation/devicetree/bindings/arm/mediatek/mediatek,hifsys.txt +1 -0
index f5629d64cef2..323905af82c3 100644
@@ -9,6 +9,7 @@ Required Properties:
 - compatible: Should be:
 	- "mediatek,mt2701-hifsys", "syscon"
 	- "mediatek,mt7622-hifsys", "syscon"
+	- "mediatek,mt7623-hifsys", "mediatek,mt2701-hifsys", "syscon"
 - #clock-cells: Must be 1
 
 The hifsys controller uses the common clk binding from
Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt +1 -0
index 868bd51a98be..3f99672163e3 100644
@@ -9,6 +9,7 @@ Required Properties:
 	- "mediatek,mt2701-imgsys", "syscon"
 	- "mediatek,mt2712-imgsys", "syscon"
 	- "mediatek,mt6797-imgsys", "syscon"
+	- "mediatek,mt7623-imgsys", "mediatek,mt2701-imgsys", "syscon"
 	- "mediatek,mt8173-imgsys", "syscon"
 - #clock-cells: Must be 1
 
Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt +1 -0
index 566f153f9f83..89f4272a1441 100644
@@ -11,6 +11,7 @@ Required Properties:
 	- "mediatek,mt2712-infracfg", "syscon"
 	- "mediatek,mt6797-infracfg", "syscon"
 	- "mediatek,mt7622-infracfg", "syscon"
+	- "mediatek,mt7623-infracfg", "mediatek,mt2701-infracfg", "syscon"
 	- "mediatek,mt8135-infracfg", "syscon"
 	- "mediatek,mt8173-infracfg", "syscon"
 - #clock-cells: Must be 1
Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt +1 -0
index 4eb8bbe15c01..15d977afad31 100644
@@ -9,6 +9,7 @@ Required Properties:
 	- "mediatek,mt2701-mmsys", "syscon"
 	- "mediatek,mt2712-mmsys", "syscon"
 	- "mediatek,mt6797-mmsys", "syscon"
+	- "mediatek,mt7623-mmsys", "mediatek,mt2701-mmsys", "syscon"
 	- "mediatek,mt8173-mmsys", "syscon"
 - #clock-cells: Must be 1
 
Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt +1 -0
index fb58ca8c2770..6755514deb80 100644
@@ -10,6 +10,7 @@ Required Properties:
 	- "mediatek,mt2701-pericfg", "syscon"
 	- "mediatek,mt2712-pericfg", "syscon"
 	- "mediatek,mt7622-pericfg", "syscon"
+	- "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon"
 	- "mediatek,mt8135-pericfg", "syscon"
 	- "mediatek,mt8173-pericfg", "syscon"
 - #clock-cells: Must be 1
Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt +1 -0
index 24014a7e2332..d849465b8c99 100644
@@ -10,6 +10,7 @@ Required Properties:
 	- "mediatek,mt2712-topckgen", "syscon"
 	- "mediatek,mt6797-topckgen"
 	- "mediatek,mt7622-topckgen"
+	- "mediatek,mt7623-topckgen", "mediatek,mt2701-topckgen"
 	- "mediatek,mt8135-topckgen"
 	- "mediatek,mt8173-topckgen"
 - #clock-cells: Must be 1
Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt +1 -0
index ea40d05089f8..3212afc753c8 100644
@@ -9,6 +9,7 @@ Required Properties:
 	- "mediatek,mt2701-vdecsys", "syscon"
 	- "mediatek,mt2712-vdecsys", "syscon"
 	- "mediatek,mt6797-vdecsys", "syscon"
+	- "mediatek,mt7623-vdecsys", "mediatek,mt2701-vdecsys", "syscon"
 	- "mediatek,mt8173-vdecsys", "syscon"
 - #clock-cells: Must be 1
 
Signature · 1 line
2.19.0
author maintainer
#2 lore raw

PATCH 2/4 dt-bindings: iommu: mediatek: Add binding for MT7623

In reply to Matthias Brugger

This patch adds binding documentation for MT7623 SoC.

---
 Documentation/devicetree/bindings/iommu/mediatek,iommu.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/iommu/mediatek,iommu.txt +3 -1
index df5db732138d..6922db598def 100644
@@ -41,6 +41,8 @@ Required properties:
 - compatible : must be one of the following string:
 	"mediatek,mt2701-m4u" for mt2701 which uses generation one m4u HW.
 	"mediatek,mt2712-m4u" for mt2712 which uses generation two m4u HW.
+	"mediatek,mt7623-m4u", "mediatek,mt2701-m4u" for mt7623 which uses
+						     generation one m4u HW.
 	"mediatek,mt8173-m4u" for mt8173 which uses generation two m4u HW.
 - reg : m4u register base and size.
 - interrupts : the interrupt of m4u.
@@ -51,7 +53,7 @@ Required properties:
 	according to the local arbiter index, like larb0, larb1, larb2...
 - iommu-cells : must be 1. This is the mtk_m4u_id according to the HW.
 	Specifies the mtk_m4u_id as defined in
-	dt-binding/memory/mt2701-larb-port.h for mt2701,
+	dt-binding/memory/mt2701-larb-port.h for mt2701, mt7623
 	dt-binding/memory/mt2712-larb-port.h for mt2712, and
 	dt-binding/memory/mt8173-larb-port.h for mt8173.
 
Signature · 1 line
2.19.0
author maintainer
#3 lore raw

PATCH 3/4 dt-bindings: mediatek: Add JPEG Decoder binding for MT7623

In reply to Matthias Brugger

This patch adds a binding documentation for the JPEG Decoder of the MT7623 SoC.

---
 .../devicetree/bindings/media/mediatek-jpeg-decoder.txt          | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/media/mediatek-jpeg-decoder.txt +1 -0
index 3813947b4d4f..044b11913c49 100644
@@ -5,6 +5,7 @@ Mediatek JPEG Decoder is the JPEG decode hardware present in Mediatek SoCs
 Required properties:
 - compatible : must be one of the following string:
 	"mediatek,mt8173-jpgdec"
+	"mediatek,mt7623-jpgdec", "mediatek,mt2701-jpgdec"
 	"mediatek,mt2701-jpgdec"
 - reg : physical base address of the jpeg decoder registers and length of
   memory mapped region.
Signature · 1 line
2.19.0
author maintainer
#4 lore raw

PATCH 4/4 dt-bindings: mediatek: Add bindig for MT7623 IOMMU and SMI

In reply to Matthias Brugger

This patch add the binding documentation for the iommu and smi devices on the MT7623 SoC.

---
 .../bindings/memory-controllers/mediatek,smi-common.txt        | 1 +
 .../bindings/memory-controllers/mediatek,smi-larb.txt          | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.txt +1 -0
index 615abdd0eb0d..e937ddd871a6 100644
@@ -17,6 +17,7 @@ Required properties:
 - compatible : must be one of :
 	"mediatek,mt2701-smi-common"
 	"mediatek,mt2712-smi-common"
+	"mediatek,mt7623-smi-common", "mediatek,mt2701-smi-common"
 	"mediatek,mt8173-smi-common"
 - reg : the register and size of the SMI block.
 - power-domains : a phandle to the power domain of this local arbiter.
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.txt +2 -1
index 083155cdc2a0..94eddcae77ab 100644
@@ -6,6 +6,7 @@ Required properties:
 - compatible : must be one of :
 		"mediatek,mt2701-smi-larb"
 		"mediatek,mt2712-smi-larb"
+		"mediatek,mt7623-smi-larb", "mediatek,mt2701-smi-larb"
 		"mediatek,mt8173-smi-larb"
 - reg : the register and size of this local arbiter.
 - mediatek,smi : a phandle to the smi_common node.
@@ -16,7 +17,7 @@ Required properties:
 	    the register.
   - "smi" : It's the clock for transfer data and command.
 
-Required property for mt2701 and mt2712:
+Required property for mt2701, mt2712 and mt7623:
 - mediatek,larb-id :the hardware id of this larb.
 
 Example:
Signature · 1 line
2.19.0
author maintainer
#5 lore raw
In reply to Matthias Brugger
Quoted 7 lines · Matthias Brugger

Mediateks MT7623 SoC shares most of its component with MT2701. This series adds devicetree documentation for all the devices.

It applies cleanly against linux next, so I don't expect any merge conflicts if this is taken by Arnd through the arm-soc tree for v4.20

For completeness, I merged the whole series to v4.19-next/dts32