summaryrefslogtreecommitdiffstats
path: root/drivers/clk/socfpga/clk-agilex.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2021-07-13 09:46:19 -0500
committerStephen Boyd <sboyd@kernel.org>2021-07-26 17:56:21 -0700
commit9d563236cca43fc4fe190b3be173444bd48e2a3b (patch)
tree38935608ca394c9f85d502be87e1f83e3d54f8ca /drivers/clk/socfpga/clk-agilex.c
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
downloadlinux-9d563236cca43fc4fe190b3be173444bd48e2a3b.tar.bz2
clk: socfpga: agilex: fix the parents of the psi_ref_clk
The psi_ref_clk comes from the C2 node of the main_pll and periph_pll, not the C3. Fixes: 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the Agilex platform") Cc: stable@vger.kernel.org Signed-off-by: Kris Chaplin <kris.chaplin@intel.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Link: https://lore.kernel.org/r/20210713144621.605140-1-dinguyen@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/socfpga/clk-agilex.c')
-rw-r--r--drivers/clk/socfpga/clk-agilex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/socfpga/clk-agilex.c b/drivers/clk/socfpga/clk-agilex.c
index 1cb21ea79c64..9dffe9ba0e74 100644
--- a/drivers/clk/socfpga/clk-agilex.c
+++ b/drivers/clk/socfpga/clk-agilex.c
@@ -107,10 +107,10 @@ static const struct clk_parent_data gpio_db_free_mux[] = {
};
static const struct clk_parent_data psi_ref_free_mux[] = {
- { .fw_name = "main_pll_c3",
- .name = "main_pll_c3", },
- { .fw_name = "peri_pll_c3",
- .name = "peri_pll_c3", },
+ { .fw_name = "main_pll_c2",
+ .name = "main_pll_c2", },
+ { .fw_name = "peri_pll_c2",
+ .name = "peri_pll_c2", },
{ .fw_name = "osc1",
.name = "osc1", },
{ .fw_name = "cb-intosc-hs-div2-clk",