[PATCH v5 5/5] arm64: dts: rockchip: rk356x: Clock the vdec at 400 MHz

From: Daniel Golle

Date: Fri Nov 20 2026 - 12:43:55 EST


The decoder AXI, core and CABAC clocks are assigned 297 MHz, the rate
the vendor kernel derives as a quarter of its 1188 MHz GPLL. This dtsi
runs the GPLL at 1200 MHz, from which the closest rate below 297 MHz
is 240 MHz.

Assign 400 MHz, a third of the GPLL. The vendor kernel clocks the
decoder at a third of its GPLL for streams above 1920x1088 and lists
400 MHz at 900 mV as the highest decoder operating point. The rkvdec
driver scales neither the clocks nor the supply, so the rate applies
to every stream.

Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---
v5: state that the rate applies to all streams; no changes to the dtsi
v4: new patch

---
arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
index 411c9ed62d4ac..6305a57258b4c 100644
--- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi
@@ -666,8 +666,8 @@ vdec: video-codec@fdf80100 {
<&cru CLK_RKVDEC_CORE>,
<&cru CLK_RKVDEC_CA>,
<&cru CLK_RKVDEC_HEVC_CA>;
- assigned-clock-rates = <297000000>, <297000000>,
- <297000000>, <600000000>;
+ assigned-clock-rates = <400000000>, <400000000>,
+ <400000000>, <600000000>;
iommus = <&vdec_mmu>;
power-domains = <&power RK3568_PD_RKVDEC>;
resets = <&cru SRST_A_RKVDEC>, <&cru SRST_H_RKVDEC>,
--
2.56.1