Dove GPU support
cover Dove GPU support
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(+)
Signature · 1 line
2.6.2
PATCH 1/2 ARM: dts: dove: add DT GPU support
From: Russell King <[email protected]>
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.
--- arch/arm/boot/dts/dove.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/boot/dts/dove.dtsi +16 -0
@@ -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 = <÷r_clk 1>; + clock-names = "core"; + compatible = "vivante,gc"; + interrupts = <48>; + power-domains = <&gpu_domain>; + reg = <0x840000 0x4000>; + status = "disabled"; + }; }; }; };
Signature · 1 line
2.6.2
PATCH 2/2 ARM: dts: enable GPU for SolidRun's Cubox
In reply to Lucas StachFrom: Russell King <[email protected]>
Enable the GPU for SolidRun's Cubox.
--- arch/arm/boot/dts/dove-cubox.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/dove-cubox.dts +8 -0
@@ -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>;
Signature · 1 line
2.6.2
cover Dove GPU support
In reply to Lucas StachHi Lucas,
Quoted 5 lines · Lucas Stach
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
Quoted 15 lines
Regards,
LucasRussell King (2):
ARM: dts: dove: add DT GPU support
ARM: dts: enable GPU for SolidRun's Cuboxarch/arm/boot/dts/dove-cubox.dts | 8 ++++++++ arch/arm/boot/dts/dove.dtsi | 16 ++++++++++++++++ 2 files changed, 24 insertions(+)Signature · 1 line
2.6.2
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com