mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
The TCU clock gate on X1000 wasn't requested by the driver and could be gated automatically later on in boot, which prevents timers from running and breaks PWM. Add a workaround to support old device trees that don't specify the "tcu" clock gate. In this case the kernel will print a warning and attempt to continue without the clock, which is wrong, but it could work if "clk_ignore_unused" is in the kernel arguments. Signed-off-by: Aidan MacDonald <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Paul Cercueil <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>