Skip to contentSkip to conversation

Add 520MHz opp node to RK3326's dtsi

PATCH New Maccraft123 1 participant 1 message Jun 25, 2021

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

PATCH 1/1 Add 520MHz opp node to RK3326's dtsi

From: Maciej Matuszczyk <[email protected]>

According to Rockchip's BSP, RK3326's GPU can go faster than 480MHz This was missed when gpu_opp_table node was added in
commit f43e351c9630 ("arm64: dts: rockchip: Add gpu opp nodes to px30 dtsi")

The values in rk3326.dtsi match Rockchip's kernel,
but Odroid-GO Advance's kernel sources point at different microvolt value, that has to be overridden in board dts.

---
 arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts | 13 +++++++++++++
 arch/arm64/boot/dts/rockchip/rk3326.dtsi           |  7 +++++++
 2 files changed, 20 insertions(+)
arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts +7 -0
index 49c97f76df77..ee898cb12080 100644
@@ -258,6 +258,13 @@ &gpu {
 	status = "okay";
 };
 
+&gpu_opp_table {
+	opp-520000000 {
+		opp-microvolt = <1150000>;
+	};
+};
+
+
 &i2c0 {
 	clock-frequency = <400000>;
 	i2c-scl-falling-time-ns = <16>;
arch/arm64/boot/dts/rockchip/rk3326.dtsi +7 -0
index 2ba6da125137..19de275d05a3 100644
@@ -5,7 +5,13 @@
 
 #include "px30.dtsi"
 
+&gpu_opp_table {
+	opp-520000000 {
+		opp-hz = /bits/ 64 <520000000>;
+		opp-microvolt = <1175000>;
+	};
+};
+
 &display_subsystem {
 	ports = <&vopb_out>;
 };
Signature · 7 lines
2.32.0.rc2


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip