Skip to contentSkip to conversation

add gpu node support on rock960 and rockpi4

PATCH In review Akash Gajjar 2 participants 4 messages Mar 14, 2019

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

cover add gpu node support on rock960 and rockpi4

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(+)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 arm64: dts: rockchip: add mali gpu support on rockpi4

add gpu node support on board and add the supplying regulator

---
 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts +5 -0
index 4a543f2117d4..1e479d06e67e 100644
@@ -157,6 +157,11 @@
 	status = "okay";
 };
 
+&gpu {
+	mali-supply = <&vdd_gpu>;
+	status = "okay";
+};
+
 &hdmi {
 	pinctrl-names = "default";
 	pinctrl-0 = <&hdmi_cec>;
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH 2/2 arm64: dts: rockchip: add mali gpu support on rock960

In reply to Akash Gajjar

add gpu node support on board and add the supplying regulator

---
 arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-rock960.dts +5 -0
index 12285c51cceb..bc8c04190d1a 100644
@@ -62,6 +62,11 @@
 
 };
 
+&gpu {
+	mali-supply = <&vdd_gpu>;
+	status = "okay";
+};
+
 &pcie0 {
 	ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
 };
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw
In reply to Akash Gajjar

Hi,

Quoted 7 lines · Akash Gajjar

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

Quoted 7 lines
 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(+)
Signature · 1 line
2.17.1