Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: spear: fix WDT clock definition on SPEAr600

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>

authored by

Quentin Schulz and committed by
Stephen Boyd
1af897df 7928b2cb

+1 -1
+1 -1
drivers/clk/spear/spear6xx_clock.c
··· 147 147 148 148 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1, 149 149 1); 150 - clk_register_clkdev(clk, NULL, "wdt"); 150 + clk_register_clkdev(clk, NULL, "fc880000.wdt"); 151 151 152 152 /* clock derived from pll1 clk */ 153 153 clk = clk_register_fixed_factor(NULL, "cpu_clk", "pll1_clk",