clk: spear: fix WDT clock definition on SPEAr600
authorQuentin Schulz <quentin.schulz@bootlin.com>
Fri, 6 Apr 2018 07:50:45 +0000 (09:50 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Apr 2018 20:45:34 +0000 (13:45 -0700)
There is no SPEAr600 device named "wdt". Instead, the description of the
WDT (watchdog) was recently added to the Device Tree, and the device
name is "fc880000.wdt", so we should associate the WDT fixed rate clock
to this device name.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/spear/spear6xx_clock.c

index f911d9f7776320a602a7894c664d5f875cf3be44..47810be7f15c9fef79f68ef1c85725fd895874de 100644 (file)
@@ -147,7 +147,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
 
        clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1,
                        1);
-       clk_register_clkdev(clk, NULL, "wdt");
+       clk_register_clkdev(clk, NULL, "fc880000.wdt");
 
        /* clock derived from pll1 clk */
        clk = clk_register_fixed_factor(NULL, "cpu_clk", "pll1_clk",