linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Dove GPU support
@ 2015-12-15 16:38 Lucas Stach
  2015-12-15 16:38 ` [PATCH 1/2] ARM: dts: dove: add DT " Lucas Stach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lucas Stach @ 2015-12-15 16:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Dove maintainers,

those 2 patches add support for the Vivante GPU. The binding has already been
acked by the DT maintainers and is included in the pull request for the DRM
driver. I hope you can pick those patches up for inclusion in 4.5.

Regards,
Lucas

Russell King (2):
  ARM: dts: dove: add DT GPU support
  ARM: dts: enable GPU for SolidRun's Cubox

 arch/arm/boot/dts/dove-cubox.dts |  8 ++++++++
 arch/arm/boot/dts/dove.dtsi      | 16 ++++++++++++++++
 2 files changed, 24 insertions(+)

-- 
2.6.2

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

* [PATCH 1/2] ARM: dts: dove: add DT GPU support
  2015-12-15 16:38 [PATCH 0/2] Dove GPU support Lucas Stach
@ 2015-12-15 16:38 ` Lucas Stach
  2015-12-15 16:38 ` [PATCH 2/2] ARM: dts: enable GPU for SolidRun's Cubox Lucas Stach
  2015-12-15 16:48 ` [PATCH 0/2] Dove GPU support Gregory CLEMENT
  2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2015-12-15 16:38 UTC (permalink / raw)
  To: linux-arm-kernel

From: Russell King <rmk+kernel@arm.linux.org.uk>

Add DT support for the Vivante GC600 GPU on Marvell Dove platforms.
These nodes default to being disabled unless a platform decides they
should be enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/dove.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index cd58c2e62757..ea1d999ca7a7 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -33,6 +33,12 @@
 		marvell,tauros2-cache-features = <0>;
 	};
 
+	gpu-subsystem {
+		compatible = "marvell,dove-gpu-subsystem";
+		cores = <&gpu>;
+		status = "disabled";
+	};
+
 	i2c-mux {
 		compatible = "i2c-mux-pinctrl";
 		#address-cells = <1>;
@@ -776,6 +782,16 @@
 				#address-cells = <1>;
 				#size-cells = <1>;
 			};
+
+			gpu: gpu at 840000 {
+				clocks = <&divider_clk 1>;
+				clock-names = "core";
+				compatible = "vivante,gc";
+				interrupts = <48>;
+				power-domains = <&gpu_domain>;
+				reg = <0x840000 0x4000>;
+				status = "disabled";
+			};
 		};
 	};
 };
-- 
2.6.2

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

* [PATCH 2/2] ARM: dts: enable GPU for SolidRun's Cubox
  2015-12-15 16:38 [PATCH 0/2] Dove GPU support Lucas Stach
  2015-12-15 16:38 ` [PATCH 1/2] ARM: dts: dove: add DT " Lucas Stach
@ 2015-12-15 16:38 ` Lucas Stach
  2015-12-15 16:48 ` [PATCH 0/2] Dove GPU support Gregory CLEMENT
  2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2015-12-15 16:38 UTC (permalink / raw)
  To: linux-arm-kernel

From: Russell King <rmk+kernel@arm.linux.org.uk>

Enable the GPU for SolidRun's Cubox.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/dove-cubox.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts
index e6fa251e17b9..af3cb633135f 100644
--- a/arch/arm/boot/dts/dove-cubox.dts
+++ b/arch/arm/boot/dts/dove-cubox.dts
@@ -62,6 +62,10 @@
 		pinctrl-0 = <&pmx_gpio_19>;
 		pinctrl-names = "default";
 	};
+
+	gpu-subsystem {
+		status = "okay";
+	};
 };
 
 &uart0 { status = "okay"; };
@@ -74,6 +78,10 @@
 	reg = <1>;
 };
 
+&gpu {
+	status = "okay";
+};
+
 &i2c0 {
 	status = "okay";
 	clock-frequency = <100000>;
-- 
2.6.2

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

* [PATCH 0/2] Dove GPU support
  2015-12-15 16:38 [PATCH 0/2] Dove GPU support Lucas Stach
  2015-12-15 16:38 ` [PATCH 1/2] ARM: dts: dove: add DT " Lucas Stach
  2015-12-15 16:38 ` [PATCH 2/2] ARM: dts: enable GPU for SolidRun's Cubox Lucas Stach
@ 2015-12-15 16:48 ` Gregory CLEMENT
  2 siblings, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2015-12-15 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Lucas,
 
 On mar., d?c. 15 2015, Lucas Stach <l.stach@pengutronix.de> wrote:

> Hi Dove maintainers,
>
> those 2 patches add support for the Vivante GPU. The binding has already been
> acked by the DT maintainers and is included in the pull request for the DRM
> driver. I hope you can pick those patches up for inclusion in 4.5.

Good timing! I was about to ask news about these pacthes.

They are both applied on mvebu/dt

Thanks,

Gregory


>
> Regards,
> Lucas
>
> Russell King (2):
>   ARM: dts: dove: add DT GPU support
>   ARM: dts: enable GPU for SolidRun's Cubox
>
>  arch/arm/boot/dts/dove-cubox.dts |  8 ++++++++
>  arch/arm/boot/dts/dove.dtsi      | 16 ++++++++++++++++
>  2 files changed, 24 insertions(+)
>
> -- 
> 2.6.2
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2015-12-15 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 16:38 [PATCH 0/2] Dove GPU support Lucas Stach
2015-12-15 16:38 ` [PATCH 1/2] ARM: dts: dove: add DT " Lucas Stach
2015-12-15 16:38 ` [PATCH 2/2] ARM: dts: enable GPU for SolidRun's Cubox Lucas Stach
2015-12-15 16:48 ` [PATCH 0/2] Dove GPU support Gregory CLEMENT

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).