Skip to content

Commit bb021cd

Browse files
Icenowymripard
authored andcommitted
clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33
The CPUX clock on A33, which is for the Cortex-A7 cores, is designed to be changeable by changing the rate of PLL_CPUX. Add CLK_SET_RATE_PARENT flag to this clock. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
1 parent 790d929 commit bb021cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi-ng/ccu-sun8i-a33.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static SUNXI_CCU_N_WITH_GATE_LOCK(pll_ddr1_clk, "pll-ddr1",
170170
static const char * const cpux_parents[] = { "osc32k", "osc24M",
171171
"pll-cpux" , "pll-cpux" };
172172
static SUNXI_CCU_MUX(cpux_clk, "cpux", cpux_parents,
173-
0x050, 16, 2, CLK_IS_CRITICAL);
173+
0x050, 16, 2, CLK_IS_CRITICAL | CLK_SET_RATE_PARENT);
174174

175175
static SUNXI_CCU_M(axi_clk, "axi", "cpux", 0x050, 0, 2, 0);
176176

0 commit comments

Comments
 (0)