Skip to content

Commit 72d38ed

Browse files
AngeloGioacchino Del Regnowens
authored andcommitted
clk: mediatek: clk-mt8195-topckgen: Drop univplls from mfg mux parents
These PLLs are conflicting with GPU rates that can be generated by the GPU-dedicated MFGPLL and would require a special clock handler to be used, for very little and ignorable power consumption benefits. Also, we're in any case unable to set the rate of these PLLs to something else that is sensible for this task, so simply drop them: this will make the GPU to be clocked exclusively from MFGPLL for "fast" rates, while still achieving the right "safe" rate during PLL frequency locking. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20220927101128.44758-9-angelogioacchino.delregno@collabora.com Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
1 parent f8fd4b5 commit 72d38ed

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

drivers/clk/mediatek/clk-mt8195-topckgen.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,14 @@ static const char * const ipu_if_parents[] = {
298298
"mmpll_d4"
299299
};
300300

301+
/*
302+
* MFG can be also parented to "univpll_d6" and "univpll_d7":
303+
* these have been removed from the parents list to let us
304+
* achieve GPU DVFS without any special clock handlers.
305+
*/
301306
static const char * const mfg_parents[] = {
302307
"clk26m",
303-
"mainpll_d5_d2",
304-
"univpll_d6",
305-
"univpll_d7"
308+
"mainpll_d5_d2"
306309
};
307310

308311
static const char * const camtg_parents[] = {

0 commit comments

Comments
 (0)