Skip to content

Commit 9f94f54

Browse files
committed
clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
The only clock in the MT8183 MFGCFG block feeds the GPU. Propagate its rate change requests to its parent, so that DVFS for the GPU can work properly. Fixes: acddfc2 ("clk: mediatek: Add MT8183 clock support") Signed-off-by: Chen-Yu Tsai <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 9ec105d commit 9f94f54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/clk/mediatek/clk-mt8183-mfgcfg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ static const struct mtk_gate_regs mfg_cg_regs = {
1818
.sta_ofs = 0x0,
1919
};
2020

21-
#define GATE_MFG(_id, _name, _parent, _shift) \
22-
GATE_MTK(_id, _name, _parent, &mfg_cg_regs, _shift, \
23-
&mtk_clk_gate_ops_setclr)
21+
#define GATE_MFG(_id, _name, _parent, _shift) \
22+
GATE_MTK_FLAGS(_id, _name, _parent, &mfg_cg_regs, _shift, \
23+
&mtk_clk_gate_ops_setclr, CLK_SET_RATE_PARENT)
2424

2525
static const struct mtk_gate mfg_clks[] = {
2626
GATE_MFG(CLK_MFG_BG3D, "mfg_bg3d", "mfg_sel", 0)

0 commit comments

Comments
 (0)