ARM: dts: bcm2835: Switch HSM clock to firmware
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Apr 2022 15:45:16 +0000 (17:45 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Apr 2022 15:45:16 +0000 (16:45 +0100)
commit82f448e685fed020305d85169523a8633601258a
tree2ddf6e28a0bfa08a5796d1796e7411a1e3b298df
parentfdadcc0ae87af76aedfa14ae2f925282cef6d80a
ARM: dts: bcm2835: Switch HSM clock to firmware

When the bootloader boots without a display connected to the
HDMI connector, it won't initialize the HSM clock.

Then, when Linux boots, the default parent fetched by the clock
framework will be the first parent for the HSM clock, which is "gnd".

That clock is never registered, leading to the HSM clock being orphaned,
which leads to other issues with the recent clock range handling.

It's not clear what the proper solution would be, but the firmware
clocks driver doesn't have that parenting issue and the clock rate is
properly initialized for this clock whenever it hasn't been set by the
bootloader.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm/boot/dts/bcm2835-common.dtsi