Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: bcm: rpi: Allow cpufreq driver to also adjust gpu clocks

For performance/power it is beneficial to adjust gpu clocks with arm clock.
This is how the downstream cpufreq driver works

Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20250116-bcm2712-clk-updates-v1-2-10bc92ffbf41@raspberrypi.com
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Dom Cobley and committed by
Stephen Boyd
c911a660 410cf825

-1
-1
drivers/clk/bcm/clk-raspberrypi.c
··· 156 156 struct raspberrypi_firmware_prop msg = { 157 157 .id = cpu_to_le32(data->id), 158 158 .val = cpu_to_le32(*val), 159 - .disable_turbo = cpu_to_le32(1), 160 159 }; 161 160 int ret; 162 161