Page 1 of 1

Setting the CPU frequency

Posted: 2025-11-13 20:05
by nehemiah
Hello all,

I wonder how to set the CPU frequency manually. I looked in the kernel config (buildroot) and see that the Rockchip cpufreq driver is enabled but looking in the code it seems as if that driver doesn't support RK3506B. Is there any way to set the CPU frequency from user space?

Re: Setting the CPU frequency

Posted: 2025-11-21 6:05
by yangxj121
Hello, currently 3506 does not support allowing users to dynamically adjust the CPU frequency.

Code: Select all

&pvtpll_core {
        assigned-clock-rates = <The frequency to be set>;
};
It can be modified in the device tree.

Code: Select all

cat /sys/kernel/debug/clk/armclk/clk_rate
Check CPU frequency