aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/spear
diff options
context:
space:
mode:
authorKory Maincent <kory.maincent@bootlin.com>2022-11-15 14:58:13 +0100
committerStephen Boyd <sboyd@kernel.org>2022-11-22 18:03:52 -0800
commit5381dc785312e2ea77febd8274834ee5b59f580e (patch)
tree9f54367ce2ba90325ffbc5ab9d9c947a9ff2b863 /drivers/clk/spear
parentclk: spear: Fix CLCD clock definition on SPEAr600 (diff)
downloadwireguard-linux-5381dc785312e2ea77febd8274834ee5b59f580e.tar.xz
wireguard-linux-5381dc785312e2ea77febd8274834ee5b59f580e.zip
clk: spear: Fix SSP clock definition on SPEAr600
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 <kory.maincent@bootlin.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Link: https://lore.kernel.org/r/20221115135814.214388-3-kory.maincent@bootlin.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/spear')
-rw-r--r--drivers/clk/spear/spear6xx_clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
index ee0ed89f2954..adfa118520c3 100644
--- a/drivers/clk/spear/spear6xx_clock.c
+++ b/drivers/clk/spear/spear6xx_clock.c
@@ -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");
}