clk: sunxi-ng: d1: Mark cpux clock as critical
authorAndrás Szemző <szemzo.andras@gmail.com>
Sat, 31 Dec 2022 23:14:27 +0000 (17:14 -0600)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Sun, 8 Jan 2023 21:06:10 +0000 (22:06 +0100)
commit6ec1c73f1be7bfdcf4d95ed3ae199d139f199e87
tree4e060cf042a8861ddd1029a9a00be7a9d8187cf9
parentf1404c72b693b9f04cc991481155628620b248b5
clk: sunxi-ng: d1: Mark cpux clock as critical

Some SoCs in the D1 family feature ARM CPUs instead of a RISC-V CPU.
In that case, the CPUs are driven from the 'cpux' clock, so it needs
to be marked as critical, since there is no consumer when DVFS is
disabled. This matches the drivers for other SoCs, and the "riscv"
clock in this driver.

Signed-off-by: András Szemző <szemzo.andras@gmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221231231429.18357-5-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
drivers/clk/sunxi-ng/ccu-sun20i-d1.c