Web lists-archives.com

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




add gpu node support on board and add the supplying regulator

Signed-off-by: Akash Gajjar <akash@xxxxxxxxxxxx>
Signed-off-by: Andrius Štikonas <andrius@xxxxxxxxxxx>
---
 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