]> Gentwo Git Trees - linux/.git/commit
arm64: dts: rockchip: fix RK3576 SCMI clock IDs
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Mon, 10 Mar 2025 09:59:57 +0000 (10:59 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 Mar 2025 19:07:18 +0000 (20:07 +0100)
commitb5cb721adbe8b6c7a8e3b178fa0feb283f4a660a
treeeee5c119213353af23b76ea22e2f043bd1bf5b8d
parent28699ca6d9018201674787e7b6bdce68d9cf7256
arm64: dts: rockchip: fix RK3576 SCMI clock IDs

Downstream Linux, and consequently both downstream and mainline TF-A,
all use a different set of clock IDs from mainline Linux. If we want to
fiddle with these clocks through SCMI, we'll need to use the right IDs.
If we don't do this we'll end up changing unrelated clocks all over the
place.

Change the clock IDs to the newly added SCMI clock IDs for the CPU and
GPU nodes, which are currently the only ones using SCMI clocks. This
fixes the terrible GPU performance, as we weren't reclocking it
properly.

Fixes: 57b1ce903966 ("arm64: dts: rockchip: Add rk3576 SoC base DT")
Reported-by: Jonas Karlman <jonas@kwiboo.se>
Closes: https://libera.irclog.whitequark.org/linux-rockchip/2025-03-09#1741542223-1741542875;
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://lore.kernel.org/r/20250310-rk3576-scmi-clocks-v1-2-e165deb034e8@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3576.dtsi