]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: bcm: rpi: Allow cpufreq driver to also adjust gpu clocks
authorDom Cobley <popcornmix@gmail.com>
Thu, 16 Jan 2025 16:24:09 +0000 (16:24 +0000)
committerStephen Boyd <sboyd@kernel.org>
Thu, 16 Jan 2025 21:27:11 +0000 (13:27 -0800)
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>
drivers/clk/bcm/clk-raspberrypi.c

index 6d5ee1cddded025c73e2514437274d273587cff3..d374538e710815670e8a4bba3736dc1b75e6188d 100644 (file)
@@ -156,7 +156,6 @@ static int raspberrypi_clock_property(struct rpi_firmware *firmware,
        struct raspberrypi_firmware_prop msg = {
                .id = cpu_to_le32(data->id),
                .val = cpu_to_le32(*val),
-               .disable_turbo = cpu_to_le32(1),
        };
        int ret;