Skip to contentSkip to conversation

Support new features to the SPEAr600

PATCH Applied Köry Maincent 2 participants 5 messages Nov 15, 2022 – Nov 23, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover Support new features to the SPEAr600

From: Kory Maincent <[email protected]>

This patches series adds two features of the SPEAr600 SOC:

- Enable the display controller

- Enable the SPI buses using the SSP controller

Changes in v2:
- Keep the I2C_CONFIG in the spear6xx_defconfig while enabling DRM.
- Send cover letter which was not sent in v1 due to a mistake in my git mail config.

The arm patches have been merged thanks to Arnd. Could you deal with the clock patches to merged them through the clock tree?

Kory Maincent (2):
clk: spear: Fix CLCD clock definition on SPEAr600
clk: spear: Fix SSP clock definition on SPEAr600

 drivers/clk/spear/spear6xx_clock.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH v3 1/2 clk: spear: Fix CLCD clock definition on SPEAr600

From: Kory Maincent <[email protected]>

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.

---
 drivers/clk/spear/spear6xx_clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/spear/spear6xx_clock.c +1 -1
index c192a9141b86..ee0ed89f2954 100644
@@ -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,
Signature · 1 line
2.25.1
maintainer Applied
#2 lore raw

Re: [PATCH v3 1/2] clk: spear: Fix CLCD clock definition on SPEAr600

Quoting Köry Maincent (2022-11-15 05:58:12)

Quoted 9 lines

From: Kory Maincent <[email protected]>

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.

---

Applied to clk-next

#3 lore raw

PATCH v3 2/2 clk: spear: Fix SSP clock definition on SPEAr600

In reply to Köry Maincent

From: Kory Maincent <[email protected]>

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.

---
 drivers/clk/spear/spear6xx_clock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/clk/spear/spear6xx_clock.c +3 -3
index ee0ed89f2954..adfa118520c3 100644
@@ -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");
 }
Signature · 1 line
2.25.1
maintainer Applied
#4 lore raw

Re: [PATCH v3 2/2] clk: spear: Fix SSP clock definition on SPEAr600

Quoting Köry Maincent (2022-11-15 05:58:13)

Quoted 10 lines

From: Kory Maincent <[email protected]>

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.

---

Applied to clk-next