Skip to contentSkip to conversation

ARM: SPEAr600: Change FSMC and SMI clock names

PATCH New Stefan Roese 2 participants 2 messages Mar 22, 2012 – Mar 23, 2012

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

PATCH 1/1 ARM: SPEAr600: Change FSMC and SMI clock names

Change FSMC and SMI clock names to match the ones needed for DT based probing.

---
 arch/arm/mach-spear6xx/clock.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-spear6xx/clock.c +2 -2
index a86499a..f051804 100644
@@ -660,8 +660,8 @@ static struct clk_lookup spear_clk_lookups[] = {
 	{ .dev_id = "dma",		.clk = &dma_clk},
 	{ .dev_id = "jpeg",		.clk = &jpeg_clk},
 	{ .dev_id = "gmac",		.clk = &gmac_clk},
-	{ .dev_id = "smi",		.clk = &smi_clk},
-	{ .dev_id = "fsmc-nand",	.clk = &fsmc_clk},
+	{ .dev_id = "fc000000.flash",	.clk = &smi_clk},
+	{ .dev_id = "d1800000.flash",	.clk = &fsmc_clk},
 	/* clock derived from apb clk */
 	{ .dev_id = "adc",		.clk = &adc_clk},
 	{ .dev_id = "ssp-pl022.0",	.clk = &ssp0_clk},
Signature · 1 line
1.7.9.2
#1 lore raw

PATCH 1/1 ARM: SPEAr600: Change FSMC and SMI clock names

Quoted 3 lines · Stefan Roese

Change FSMC and SMI clock names to match the ones needed for DT based probing.

please keep spear-devel at list.st.com in cc. :)

Quoted 11 lines
---
 arch/arm/mach-spear6xx/clock.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-spear6xx/clock.c +0 -0
index a86499a..f051804 100644

arch/arm/mach-spear6xx/clock.c static struct clk_lookup spear_clk_lookups[] = { · line 667

Quoted 10 lines
arch/arm/mach-spear6xx/clock.c +2 -2
@@ -660,8 +660,8 @@ static struct clk_lookup spear_clk_lookups[] = {
 	{ .dev_id = "dma",		.clk = &dma_clk},
 	{ .dev_id = "jpeg",		.clk = &jpeg_clk},
 	{ .dev_id = "gmac",		.clk = &gmac_clk},
-	{ .dev_id = "smi",		.clk = &smi_clk},
-	{ .dev_id = "fsmc-nand",	.clk = &fsmc_clk},
+	{ .dev_id = "fc000000.flash",	.clk = &smi_clk},
+	{ .dev_id = "d1800000.flash",	.clk = &fsmc_clk},
 	/* clock derived from apb clk */
 	{ .dev_id = "adc",		.clk = &adc_clk},
 	{ .dev_id = "ssp-pl022.0",	.clk = &ssp0_clk},

@Arnd: I would start to apply these patches on my git tree from now onwards and will send you pull request later.

Signature · 1 line
viresh