linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add gpu node support on rock960 and rockpi4
@ 2019-03-14  7:18 Akash Gajjar
  2019-03-14  7:18 ` [PATCH 1/2] arm64: dts: rockchip: add mali gpu support on rockpi4 Akash Gajjar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Akash Gajjar @ 2019-03-14  7:18 UTC (permalink / raw)
  To: heiko
  Cc: Akash Gajjar, Rob Herring, Mark Rutland, Vicente Bergas,
	Shawn Lin, Enric Balletbo i Serra, Klaus Goger,
	Manivannan Sadhasivam, Andrius Štikonas, Linus Walleij,
	devicetree, linux-arm-kernel, linux-rockchip, linux-kernel

add gpu node support on both rockchip-rk3399 board.
performance tested with freedesktop.org panfrost mali driver.

Akash Gajjar (2):
  arm64: dts: rockchip: add mali gpu support on rockpi4
  arm64: dts: rockchip: add mali gpu support on rock960

 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
 arch/arm64/boot/dts/rockchip/rk3399-rock960.dts   | 5 +++++
 2 files changed, 10 insertions(+)

-- 
2.17.1


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

* [PATCH 1/2] arm64: dts: rockchip: add mali gpu support on rockpi4
  2019-03-14  7:18 [PATCH 0/2] add gpu node support on rock960 and rockpi4 Akash Gajjar
@ 2019-03-14  7:18 ` Akash Gajjar
  2019-03-14  7:18 ` [PATCH 2/2] arm64: dts: rockchip: add mali gpu support on rock960 Akash Gajjar
  2019-03-14  7:29 ` [PATCH 0/2] add gpu node support on rock960 and rockpi4 Manivannan Sadhasivam
  2 siblings, 0 replies; 4+ messages in thread
From: Akash Gajjar @ 2019-03-14  7:18 UTC (permalink / raw)
  To: heiko
  Cc: Akash Gajjar, Andrius Štikonas, Rob Herring, Mark Rutland,
	Vicente Bergas, Shawn Lin, Enric Balletbo i Serra, Klaus Goger,
	Manivannan Sadhasivam, Linus Walleij, devicetree,
	linux-arm-kernel, linux-rockchip, linux-kernel

add gpu node support on board and add the supplying regulator

Signed-off-by: Akash Gajjar <akash@openedev.com>
Signed-off-by: Andrius Štikonas <andrius@stikonas.eu>
---
 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts
index 4a543f2117d4..1e479d06e67e 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts
@@ -157,6 +157,11 @@
 	status = "okay";
 };
 
+&gpu {
+	mali-supply = <&vdd_gpu>;
+	status = "okay";
+};
+
 &hdmi {
 	pinctrl-names = "default";
 	pinctrl-0 = <&hdmi_cec>;
-- 
2.17.1


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

* [PATCH 2/2] arm64: dts: rockchip: add mali gpu support on rock960
  2019-03-14  7:18 [PATCH 0/2] add gpu node support on rock960 and rockpi4 Akash Gajjar
  2019-03-14  7:18 ` [PATCH 1/2] arm64: dts: rockchip: add mali gpu support on rockpi4 Akash Gajjar
@ 2019-03-14  7:18 ` Akash Gajjar
  2019-03-14  7:29 ` [PATCH 0/2] add gpu node support on rock960 and rockpi4 Manivannan Sadhasivam
  2 siblings, 0 replies; 4+ messages in thread
From: Akash Gajjar @ 2019-03-14  7:18 UTC (permalink / raw)
  To: heiko
  Cc: Akash Gajjar, Andrius Štikonas, Rob Herring, Mark Rutland,
	Vicente Bergas, Pragnesh Patel, Shawn Lin,
	Enric Balletbo i Serra, Klaus Goger, Manivannan Sadhasivam,
	Linus Walleij, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

add gpu node support on board and add the supplying regulator

Signed-off-by: Akash Gajjar <akash@openedev.com>
Signed-off-by: Andrius Štikonas <andrius@stikonas.eu>
---
 arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
index 12285c51cceb..bc8c04190d1a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
@@ -62,6 +62,11 @@
 
 };
 
+&gpu {
+	mali-supply = <&vdd_gpu>;
+	status = "okay";
+};
+
 &pcie0 {
 	ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
 };
-- 
2.17.1


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

* Re: [PATCH 0/2] add gpu node support on rock960 and rockpi4
  2019-03-14  7:18 [PATCH 0/2] add gpu node support on rock960 and rockpi4 Akash Gajjar
  2019-03-14  7:18 ` [PATCH 1/2] arm64: dts: rockchip: add mali gpu support on rockpi4 Akash Gajjar
  2019-03-14  7:18 ` [PATCH 2/2] arm64: dts: rockchip: add mali gpu support on rock960 Akash Gajjar
@ 2019-03-14  7:29 ` Manivannan Sadhasivam
  2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2019-03-14  7:29 UTC (permalink / raw)
  To: Akash Gajjar
  Cc: heiko, Rob Herring, Mark Rutland, Vicente Bergas, Shawn Lin,
	Enric Balletbo i Serra, Klaus Goger, Andrius Štikonas,
	Linus Walleij, ezequiel, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel

Hi,

On Thu, Mar 14, 2019 at 12:48:40PM +0530, Akash Gajjar wrote:
> add gpu node support on both rockchip-rk3399 board.
> performance tested with freedesktop.org panfrost mali driver.
> 
> Akash Gajjar (2):
>   arm64: dts: rockchip: add mali gpu support on rockpi4
>   arm64: dts: rockchip: add mali gpu support on rock960
> 

Eze already sent MALI support patches for the above boards and those has
been queued for v5.2.

https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/log/?h=v5.2-armsoc/dts64

Thanks,
Mani

>  arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
>  arch/arm64/boot/dts/rockchip/rk3399-rock960.dts   | 5 +++++
>  2 files changed, 10 insertions(+)
> 
> -- 
> 2.17.1
> 

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

end of thread, other threads:[~2019-03-14  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-14  7:18 [PATCH 0/2] add gpu node support on rock960 and rockpi4 Akash Gajjar
2019-03-14  7:18 ` [PATCH 1/2] arm64: dts: rockchip: add mali gpu support on rockpi4 Akash Gajjar
2019-03-14  7:18 ` [PATCH 2/2] arm64: dts: rockchip: add mali gpu support on rock960 Akash Gajjar
2019-03-14  7:29 ` [PATCH 0/2] add gpu node support on rock960 and rockpi4 Manivannan Sadhasivam

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