Skip to content

Commit b271fc4

Browse files
Frank Oltmannswens
authored andcommitted
clk: sunxi-ng: a64: allow pll-mipi to set parent's rate
The nkm clock now supports setting the parent's rate. Utilize this option to find the optimal rate for pll-mipi. Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Signed-off-by: Frank Oltmanns <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent 3492e4f commit b271fc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/sunxi-ng/ccu-sun50i-a64.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ static struct ccu_nkm pll_mipi_clk = {
179179
.common = {
180180
.reg = 0x040,
181181
.hw.init = CLK_HW_INIT("pll-mipi", "pll-video0",
182-
&ccu_nkm_ops, CLK_SET_RATE_UNGATE),
182+
&ccu_nkm_ops,
183+
CLK_SET_RATE_UNGATE | CLK_SET_RATE_PARENT),
183184
},
184185
};
185186

0 commit comments

Comments
 (0)