Skip to contentSkip to conversation

ARM: dts: imx6sx: Add GPU bindings

PATCH New Marek Vasut 3 participants 4 messages Aug 26, 2016 – Aug 29, 2016

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

PATCH 1/1 ARM: dts: imx6sx: Add GPU bindings

Add bindings for the Vivante GC400T GPU found in the i.MX6SX .

Cc Lucas Stach <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
---
 arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/imx6sx.dtsi +15 -0
index 6a993bfda..901c2d2 100644
@@ -1250,6 +1250,16 @@
 			};
 		};
 
+		gpu: gpu at 01800000 {
+			compatible = "vivante,gc";
+			reg = <0x01800000 0x4000>;
+			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&clks IMX6SX_CLK_GPU>,
+				 <&clks IMX6SX_CLK_GPU>,
+				 <&clks IMX6SX_CLK_GPU>;
+			clock-names = "bus", "core", "shader";
+		};
+
 		pcie: pcie at 0x08000000 {
 			compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
 			reg = <0x08ffc000 0x4000>; /* DBI */
@@ -1273,4 +1283,9 @@
 			status = "disabled";
 		};
 	};
+
+	gpu-subsystem {
+		compatible = "fsl,imx-gpu-subsystem";
+		cores = <&gpu>;
+	};
 };
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 ARM: dts: imx6sx: Add GPU bindings

Am Freitag, den 26.08.2016, 16:22 +0200 schrieb Marek Vasut:

Quoted 6 lines

Add bindings for the Vivante GC400T GPU found in the i.MX6SX .

Cc Lucas Stach <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
Quoted 35 lines
---
 arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/imx6sx.dtsi +15 -0
index 6a993bfda..901c2d2 100644
@@ -1250,6 +1250,16 @@
 			};
 		};
 
+		gpu: gpu at 01800000 {
+			compatible = "vivante,gc";
+			reg = <0x01800000 0x4000>;
+			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&clks IMX6SX_CLK_GPU>,
+				 <&clks IMX6SX_CLK_GPU>,
+				 <&clks IMX6SX_CLK_GPU>;
+			clock-names = "bus", "core", "shader";
+		};
+
 		pcie: pcie at 0x08000000 {
 			compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
 			reg = <0x08ffc000 0x4000>; /* DBI */
@@ -1273,4 +1283,9 @@
 			status = "disabled";
 		};
 	};
+
+	gpu-subsystem {
+		compatible = "fsl,imx-gpu-subsystem";
+		cores = <&gpu>;
+	};
 };
#2 lore raw

PATCH 1/1 ARM: dts: imx6sx: Add GPU bindings

In reply to Marek Vasut
Quoted 15 lines · Marek Vasut

Add bindings for the Vivante GC400T GPU found in the i.MX6SX .

Cc Lucas Stach <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
---
 arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/imx6sx.dtsi +0 -0
index 6a993bfda..901c2d2 100644

arch/arm/boot/dts/imx6sx.dtsi line 1253

Quoted 4 lines
arch/arm/boot/dts/imx6sx.dtsi +1 -0
@@ -1250,6 +1250,16 @@
 			};
 		};
 
+		gpu: gpu at 01800000 {

Wrong place for the node. It should go right before dma-apbh at 01804000. I fixed it up and applied patch.

Shawn

Quoted 30 lines
arch/arm/boot/dts/imx6sx.dtsi +14 -0
+			compatible = "vivante,gc";
+			reg = <0x01800000 0x4000>;
+			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&clks IMX6SX_CLK_GPU>,
+				 <&clks IMX6SX_CLK_GPU>,
+				 <&clks IMX6SX_CLK_GPU>;
+			clock-names = "bus", "core", "shader";
+		};
+
 		pcie: pcie at 0x08000000 {
 			compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
 			reg = <0x08ffc000 0x4000>; /* DBI */
@@ -1273,4 +1283,9 @@
 			status = "disabled";
 		};
 	};
+
+	gpu-subsystem {
+		compatible = "fsl,imx-gpu-subsystem";
+		cores = <&gpu>;
+	};
 };
Signature · 7 lines
2.9.3


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw

PATCH 1/1 ARM: dts: imx6sx: Add GPU bindings

Quoted 19 lines · Shawn Guo
Quoted 18 lines · Marek Vasut

Add bindings for the Vivante GC400T GPU found in the i.MX6SX .

Cc Lucas Stach <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Shawn Guo <[email protected]>
---
 arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/imx6sx.dtsi +0 -0
index 6a993bfda..901c2d2 100644
@@ -1250,6 +1250,16 @@
 			};
 		};
 
Quoted 4 lines

arch/arm/boot/dts/imx6sx.dtsi line 1253

Quoted 1 line
arch/arm/boot/dts/imx6sx.dtsi +1 -0
+		gpu: gpu at 01800000 {

Wrong place for the node. It should go right before dma-apbh at 01804000. I fixed it up and applied patch.

Thanks!

Quoted 1 line

Shawn

[..]

Signature · 2 lines
Best regards,
Marek Vasut