]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: rockchip: Add rk3528 CPU frequency scaling support
authorChukun Pan <amadeus@jmu.edu.cn>
Fri, 1 Aug 2025 08:00:25 +0000 (16:00 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 7 Sep 2025 17:19:23 +0000 (19:19 +0200)
commit42bbc32c7e9e974ae4eb830ae1381cb016133e5c
tree01d07a8be1e20cec78a7edc9442f788c04617cd0
parentfdab01864390db7ef0bea28804c7a3147dc0a386
arm64: dts: rockchip: Add rk3528 CPU frequency scaling support

By default, the CPUs on RK3528 operates at 1.5GHz. Add CPU frequency and
voltage mapping to the device tree to enable dynamic scaling via cpufreq.

The OPP values come from downstream kernel[1], using a voltage close to
the actual frequency. Frequencies below 1.2GHz have been removed due to
the same voltage.

[1] https://github.com/rockchip-linux/kernel/blob/develop-5.10/arch/arm64/boot/dts/rockchip/rk3528.dtsi

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20250801080025.558935-2-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3528.dtsi