build/patch/kernel/archive/sunxi-5.15/patches.megous/arm64-dts-allwinner-set-GPU-clock-to-432-MHz.patch

30 lines
984 B
Diff

From 9c771600c0e162ab3aea2193f8a7b5c296f0f9d2 Mon Sep 17 00:00:00 2001
From: Vasily Khoruzhick <anarsoul@gmail.com>
Date: Sun, 10 Nov 2019 09:53:53 -0800
Subject: [PATCH 207/478] arm64: dts: allwinner: set GPU clock to 432 MHz
That's what BSP kernel sets it to and it seems to work fine.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 0b19a8cd4066..8c6741593820 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -1103,6 +1103,9 @@ mali: gpu@1c40000 {
clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
clock-names = "bus", "core";
resets = <&ccu RST_BUS_GPU>;
+
+ assigned-clocks = <&ccu CLK_GPU>;
+ assigned-clock-rates = <432000000>;
};
gic: interrupt-controller@1c81000 {
--
2.35.3