clk: mediatek: mt8173: Drop flags for main/sys/univpll fixed factors
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 24 Oct 2022 10:23:02 +0000 (12:23 +0200)
committerChen-Yu Tsai <wenst@chromium.org>
Tue, 29 Nov 2022 06:42:41 +0000 (14:42 +0800)
commitf757c9e951b89c40db41592a22785b5a25c58224
treebf2c8eb23fe2cc59c4d870a10ba6e72927726319
parentc01d64ca5166fa88d27c7c4a2a294dd10d20f780
clk: mediatek: mt8173: Drop flags for main/sys/univpll fixed factors

The main/sys/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"
main/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 preventing 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-6-angelogioacchino.delregno@collabora.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
drivers/clk/mediatek/clk-mt8173.c