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

The main/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/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-9-angelogioacchino.delregno@collabora.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
drivers/clk/mediatek/clk-mt8195-topckgen.c