Rockchip: RK3328: Disable 500 MHz GPU OPP

This commit is contained in:
Alex Bee 2021-10-11 15:03:41 +02:00
parent f681a48a66
commit 9a6be0d36b

View File

@ -6,12 +6,13 @@ Subject: [PATCH] arm64: dts: rockchip: add gpu powerdomain, gpu opp-table and
Note: since the regulator that supplies the GPU usually also supplies Note: since the regulator that supplies the GPU usually also supplies
other SoC components, we have to make sure voltage is never lower then other SoC components, we have to make sure voltage is never lower then
1075 mV. 1050 mV - also disable 500 MHz for now, since it will crash if rkvdec
is running at the same time (voltage to high)
Signed-off-by: Alex Bee <knaerzche@gmail.com> Signed-off-by: Alex Bee <knaerzche@gmail.com>
--- ---
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 34 ++++++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3328.dtsi | 34 ++++++++++++++++++++++++
1 file changed, 34 insertions(+) 1 file changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 23021373e15b..ca03c8ed9708 100644 index 23021373e15b..ca03c8ed9708 100644
@ -41,7 +42,7 @@ index 23021373e15b..ca03c8ed9708 100644
}; };
}; };
@@ -620,7 +630,31 @@ gpu: gpu@ff300000 { @@ -620,7 +630,32 @@ gpu: gpu@ff300000 {
"ppmmu1"; "ppmmu1";
clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>; clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
clock-names = "bus", "core"; clock-names = "bus", "core";
@ -56,19 +57,20 @@ index 23021373e15b..ca03c8ed9708 100644
+ +
+ opp-200000000 { + opp-200000000 {
+ opp-hz = /bits/ 64 <200000000>; + opp-hz = /bits/ 64 <200000000>;
+ opp-microvolt = <1075000>; + opp-microvolt = <1050000>;
+ }; + };
+ opp-300000000 { + opp-300000000 {
+ opp-hz = /bits/ 64 <300000000>; + opp-hz = /bits/ 64 <300000000>;
+ opp-microvolt = <1075000>; + opp-microvolt = <1050000>;
+ }; + };
+ opp-400000000 { + opp-400000000 {
+ opp-hz = /bits/ 64 <400000000>; + opp-hz = /bits/ 64 <400000000>;
+ opp-microvolt = <1075000>; + opp-microvolt = <1050000>;
+ }; + };
+ opp-500000000 { + opp-500000000 {
+ opp-hz = /bits/ 64 <500000000>; + opp-hz = /bits/ 64 <500000000>;
+ opp-microvolt = <1150000>; + opp-microvolt = <1150000>;
+ status = "disabled";
+ }; + };
}; };