clk: mediatek: mt8183: Drop flags for sys/univpll fixed factors
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 24 Oct 2022 10:23:01 +0000 (12:23 +0200)
committerChen-Yu Tsai <wenst@chromium.org>
Tue, 29 Nov 2022 06:42:40 +0000 (14:42 +0800)
commitc01d64ca5166fa88d27c7c4a2a294dd10d20f780
tree187aa76491689391ca0b48cef5e3d62b96598ae6
parent23037ab63336a4a1d98645bf7ee76240ed20bc65
clk: mediatek: mt8183: Drop flags for sys/univpll fixed factors

The syspll and univpll clocks are used as clock sources for multiple
peripherals of different kind, some of which are critical (like AXIs);
a rate change on any of these two will produce a rate change on many
devices and that's likely to produce system instability if not done
correctly: this is the reason why we have (a lot of) "fixed factor"
sys/univpll divider clocks, used by MUX clocks to provide different
rates based on PLL output dividers.

Following what was done on clk-mt8186-topckgen and also solving the
same GPU DVFS issue, drop CLK_SET_RATE_PARENT from the aforementioned
clocks.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20221024102307.33722-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
drivers/clk/mediatek/clk-mt8183.c