]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: spear: Fix CLCD clock definition on SPEAr600
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 15 Nov 2022 13:58:12 +0000 (14:58 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 23 Nov 2022 02:03:52 +0000 (18:03 -0800)
There is no SPEAr600 device named "clcd". Instead, the description of the
CLCD (color liquid crystal display controller) name is "fc200000.clcd", so
we should associate the CLCD gateable clock to this device name.

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-2-kory.maincent@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/spear/spear6xx_clock.c

index c192a9141b86694235472ac2a7da4382234f05e8..ee0ed89f295442b0dd051f37877ce4f0083d9814 100644 (file)
@@ -207,7 +207,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
 
        clk = clk_register_gate(NULL, "clcd_clk", "clcd_mclk", 0,
                        PERIP1_CLK_ENB, CLCD_CLK_ENB, 0, &_lock);
-       clk_register_clkdev(clk, NULL, "clcd");
+       clk_register_clkdev(clk, NULL, "fc200000.clcd");
 
        /* gpt clocks */
        clk = clk_register_gpt("gpt0_1_syn_clk", "pll1_clk", 0, PRSC0_CLK_CFG,