]> Git Repo - linux.git/commitdiff
clk: spear: Fix SSP clock definition on SPEAr600
authorKory Maincent <[email protected]>
Tue, 15 Nov 2022 13:58:13 +0000 (14:58 +0100)
committerStephen Boyd <[email protected]>
Wed, 23 Nov 2022 02:03:52 +0000 (18:03 -0800)
There is no SPEAr600 device named "ssp-pl022.x". Instead, the description
of the SSP (Synchronous Serial Port) was recently added to the Device Tree,
and the device name is "xxx.spi", so we should associate the SSP gateable
clock to these device names.

Signed-off-by: Kory Maincent <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/spear/spear6xx_clock.c

index ee0ed89f295442b0dd051f37877ce4f0083d9814..adfa118520c355636fd177405b33c05516f709ad 100644 (file)
@@ -326,13 +326,13 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
 
        clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB,
                        SSP0_CLK_ENB, 0, &_lock);
-       clk_register_clkdev(clk, NULL, "ssp-pl022.0");
+       clk_register_clkdev(clk, NULL, "d0100000.spi");
 
        clk = clk_register_gate(NULL, "ssp1_clk", "apb_clk", 0, PERIP1_CLK_ENB,
                        SSP1_CLK_ENB, 0, &_lock);
-       clk_register_clkdev(clk, NULL, "ssp-pl022.1");
+       clk_register_clkdev(clk, NULL, "d0180000.spi");
 
        clk = clk_register_gate(NULL, "ssp2_clk", "apb_clk", 0, PERIP1_CLK_ENB,
                        SSP2_CLK_ENB, 0, &_lock);
-       clk_register_clkdev(clk, NULL, "ssp-pl022.2");
+       clk_register_clkdev(clk, NULL, "d8180000.spi");
 }
This page took 0.056057 seconds and 4 git commands to generate.