提交 a6523b6f 编写于 作者: P Paul Cercueil 提交者: Stephen Boyd

clk: ingenic: jz4770: Enable power of AHB1 bus after ungating VPU clock

This was broken before, because the AHB1 bus was enabled before the VPU
clock was ungated, while it must be done afterwards.
Signed-off-by: NPaul Cercueil <paul@crapouillou.net>
Signed-off-by: NStephen Boyd <sboyd@kernel.org>
上级 45ba63a2
...@@ -154,7 +154,7 @@ static const struct ingenic_cgu_clk_info jz4770_cgu_clocks[] = { ...@@ -154,7 +154,7 @@ static const struct ingenic_cgu_clk_info jz4770_cgu_clocks[] = {
"h1clk", CGU_CLK_DIV | CGU_CLK_GATE, "h1clk", CGU_CLK_DIV | CGU_CLK_GATE,
.parents = { JZ4770_CLK_PLL0, }, .parents = { JZ4770_CLK_PLL0, },
.div = { CGU_REG_CPCCR, 24, 1, 4, 22, -1, -1 }, .div = { CGU_REG_CPCCR, 24, 1, 4, 22, -1, -1 },
.gate = { CGU_REG_LCR, 30 }, .gate = { CGU_REG_CLKGR1, 7 },
}, },
[JZ4770_CLK_H2CLK] = { [JZ4770_CLK_H2CLK] = {
"h2clk", CGU_CLK_DIV, "h2clk", CGU_CLK_DIV,
...@@ -362,7 +362,7 @@ static const struct ingenic_cgu_clk_info jz4770_cgu_clocks[] = { ...@@ -362,7 +362,7 @@ static const struct ingenic_cgu_clk_info jz4770_cgu_clocks[] = {
[JZ4770_CLK_VPU] = { [JZ4770_CLK_VPU] = {
"vpu", CGU_CLK_GATE, "vpu", CGU_CLK_GATE,
.parents = { JZ4770_CLK_H1CLK, }, .parents = { JZ4770_CLK_H1CLK, },
.gate = { CGU_REG_CLKGR1, 7 }, .gate = { CGU_REG_LCR, 30 },
}, },
[JZ4770_CLK_MMC0] = { [JZ4770_CLK_MMC0] = {
"mmc0", CGU_CLK_GATE, "mmc0", CGU_CLK_GATE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册