Commit e252c95d authored by Yixun Lan's avatar Yixun Lan Committed by Greg Kroah-Hartman

clk: meson-axg: pcie: drop the mpll3 clock parent

[ Upstream commit 69b93104 ]

We found the PCIe driver doesn't really work with
the mpll3 clock which is actually reserved for debug,
So drop it from the mux list.

Fixes: 33b89db68236 ("clk: meson-axg: add clocks required by pcie driver")
Tested-by: default avatarJianxin Qin <jianxin.qin@amlogic.com>
Signed-off-by: default avatarYixun Lan <yixun.lan@amlogic.com>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e28f4634
...@@ -713,12 +713,14 @@ static struct clk_regmap axg_pcie_mux = { ...@@ -713,12 +713,14 @@ static struct clk_regmap axg_pcie_mux = {
.offset = HHI_PCIE_PLL_CNTL6, .offset = HHI_PCIE_PLL_CNTL6,
.mask = 0x1, .mask = 0x1,
.shift = 2, .shift = 2,
/* skip the parent mpll3, reserved for debug */
.table = (u32[]){ 1 },
}, },
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "pcie_mux", .name = "pcie_mux",
.ops = &clk_regmap_mux_ops, .ops = &clk_regmap_mux_ops,
.parent_names = (const char *[]){ "mpll3", "pcie_pll" }, .parent_names = (const char *[]){ "pcie_pll" },
.num_parents = 2, .num_parents = 1,
.flags = CLK_SET_RATE_PARENT, .flags = CLK_SET_RATE_PARENT,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment