]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: bcm: rpi: Mark VEC clock as CLK_IGNORE_UNUSED
authorMaíra Canal <mcanal@igalia.com>
Fri, 24 Apr 2026 15:34:52 +0000 (16:34 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 25 Apr 2026 17:51:23 +0000 (10:51 -0700)
commit522567362b634015ca85b5460482ee0843feb105
tree6b85f36328e4c3b3a196c2077184e6f273b76ad7
parent6b701fde9b31f085f39fc2a371cb33212fab6f68
clk: bcm: rpi: Mark VEC clock as CLK_IGNORE_UNUSED

On Raspberry Pi 3B, the VEC clock is used by the VideoCore firmware
display driver, which remains active until the vc4 driver loads and
sends NOTIFY_DISPLAY_DONE. If this clock is disabled during boot, a bus
lockup happens and the firmware becomes unresponsive, causing a complete
system lockup.

Mark the VEC clock with CLK_IGNORE_UNUSED so it survives the unused
clock disablement and remains available until the vc4 driver takes over
display management.

Fixes: 672299736af6 ("clk: bcm: rpi: Manage clock rate in prepare/unprepare callbacks")
Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/r/5f0bec08-f458-4fba-8bf3-06817a100c4c@sirena.org.uk
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patch.msgid.link/20260401111416.562279-2-mcanal@igalia.com
Tested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Brian Masney <bmasney@redhat.com> # Active contributor to clk
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/bcm/clk-raspberrypi.c