* [PATCH v3 1/2] clk: spear: Fix CLCD clock definition on SPEAr600
2022-11-15 13:58 [PATCH v3 0/2] Support new features to the SPEAr600 Köry Maincent
@ 2022-11-15 13:58 ` Köry Maincent
2022-11-15 13:58 ` [PATCH v3 2/2] clk: spear: Fix SSP " Köry Maincent
1 sibling, 0 replies; 3+ messages in thread
From: Köry Maincent @ 2022-11-15 13:58 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, linux-arm-kernel, linux-clk,
linux-kernel
Cc: Arnd Bergmann, Kory Maincent, Viresh Kumar, thomas.petazzoni,
Viresh Kumar, Shiraz Hashim, soc
From: Kory Maincent <kory.maincent@bootlin.com>
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>
---
drivers/clk/spear/spear6xx_clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
index c192a9141b86..ee0ed89f2954 100644
--- a/drivers/clk/spear/spear6xx_clock.c
+++ b/drivers/clk/spear/spear6xx_clock.c
@@ -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,
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH v3 2/2] clk: spear: Fix SSP clock definition on SPEAr600
2022-11-15 13:58 [PATCH v3 0/2] Support new features to the SPEAr600 Köry Maincent
2022-11-15 13:58 ` [PATCH v3 1/2] clk: spear: Fix CLCD clock definition on SPEAr600 Köry Maincent
@ 2022-11-15 13:58 ` Köry Maincent
1 sibling, 0 replies; 3+ messages in thread
From: Köry Maincent @ 2022-11-15 13:58 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, linux-arm-kernel, linux-clk,
linux-kernel
Cc: Arnd Bergmann, Kory Maincent, Viresh Kumar, thomas.petazzoni,
Viresh Kumar, Shiraz Hashim, soc
From: Kory Maincent <kory.maincent@bootlin.com>
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>
---
drivers/clk/spear/spear6xx_clock.c | 6 +++---
1 file 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");
}
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread