linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6sx: Add GPU bindings
@ 2016-08-26 14:22 Marek Vasut
  2016-08-26 14:36 ` Lucas Stach
  2016-08-29 13:41 ` Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Marek Vasut @ 2016-08-26 14:22 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
---
 arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 6a993bfda..901c2d2 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -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.9.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: imx6sx: Add GPU bindings
  2016-08-26 14:22 [PATCH] ARM: dts: imx6sx: Add GPU bindings Marek Vasut
@ 2016-08-26 14:36 ` Lucas Stach
  2016-08-29 13:41 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2016-08-26 14:36 UTC (permalink / raw)
  To: linux-arm-kernel

Am Freitag, den 26.08.2016, 16:22 +0200 schrieb Marek Vasut:
> Add bindings for the Vivante GC400T GPU found in the i.MX6SX .
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Cc: Shawn Guo <shawnguo@kernel.org>

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>

> ---
>  arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
> index 6a993bfda..901c2d2 100644
> --- a/arch/arm/boot/dts/imx6sx.dtsi
> +++ b/arch/arm/boot/dts/imx6sx.dtsi
> @@ -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>;
> +	};
>  };

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: imx6sx: Add GPU bindings
  2016-08-26 14:22 [PATCH] ARM: dts: imx6sx: Add GPU bindings Marek Vasut
  2016-08-26 14:36 ` Lucas Stach
@ 2016-08-29 13:41 ` Shawn Guo
  2016-08-29 13:45   ` Marek Vasut
  1 sibling, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2016-08-29 13:41 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 26, 2016 at 04:22:54PM +0200, Marek Vasut wrote:
> Add bindings for the Vivante GC400T GPU found in the i.MX6SX .
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> ---
>  arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
> index 6a993bfda..901c2d2 100644
> --- a/arch/arm/boot/dts/imx6sx.dtsi
> +++ b/arch/arm/boot/dts/imx6sx.dtsi
> @@ -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

> +			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.9.3
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: imx6sx: Add GPU bindings
  2016-08-29 13:41 ` Shawn Guo
@ 2016-08-29 13:45   ` Marek Vasut
  0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2016-08-29 13:45 UTC (permalink / raw)
  To: linux-arm-kernel

On 08/29/2016 03:41 PM, Shawn Guo wrote:
> On Fri, Aug 26, 2016 at 04:22:54PM +0200, Marek Vasut wrote:
>> Add bindings for the Vivante GC400T GPU found in the i.MX6SX .
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Lucas Stach <l.stach@pengutronix.de>
>> Cc: Fabio Estevam <fabio.estevam@nxp.com>
>> Cc: Shawn Guo <shawnguo@kernel.org>
>> ---
>>  arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
>>  1 file changed, 15 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
>> index 6a993bfda..901c2d2 100644
>> --- a/arch/arm/boot/dts/imx6sx.dtsi
>> +++ b/arch/arm/boot/dts/imx6sx.dtsi
>> @@ -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.

Thanks!

> Shawn

[..]

-- 
Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-29 13:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-26 14:22 [PATCH] ARM: dts: imx6sx: Add GPU bindings Marek Vasut
2016-08-26 14:36 ` Lucas Stach
2016-08-29 13:41 ` Shawn Guo
2016-08-29 13:45   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).