]> git.baikalelectronics.ru Git - kernel.git/commitdiff
clk: ast2600: BCLK comes from EPLL
authorJoel Stanley <joel@jms.id.au>
Thu, 21 Apr 2022 04:04:26 +0000 (13:34 +0930)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:22:43 +0000 (13:22 +0200)
[ Upstream commit ac8156b1e0d4d940278f7ce145acd9503f3bf219 ]

This correction was made in the u-boot SDK recently. There are no
in-tree users of this clock so the impact is minimal.

Fixes: 9ea7cc96411f ("clk: Add support for AST2600 SoC")
Link: https://github.com/AspeedTech-BMC/u-boot/commit/8ad54a5ae15f27fea5e894cc2539a20d90019717
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220421040426.171256-1-joel@jms.id.au
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/clk-ast2600.c

index 48122f574cb6577e49b101fda16209214bd4ef8a..8a6c6b9c9a6a7222f88c801b4459a6bdde87aae5 100644 (file)
@@ -579,7 +579,7 @@ static int aspeed_g6_clk_probe(struct platform_device *pdev)
        regmap_write(map, 0x308, 0x12000); /* 3x3 = 9 */
 
        /* P-Bus (BCLK) clock divider */
-       hw = clk_hw_register_divider_table(dev, "bclk", "hpll", 0,
+       hw = clk_hw_register_divider_table(dev, "bclk", "epll", 0,
                        scu_g6_base + ASPEED_G6_CLK_SELECTION1, 20, 3, 0,
                        ast2600_div_table,
                        &aspeed_g6_clk_lock);