Skip to contentSkip to conversation

da830: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS.

PATCH In review Subhasish Ghosh 2 participants 3 messages Feb 11, 2011 – Feb 24, 2011

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

PATCH 1/1 da830: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS.

The PRUSS was named as DMAX on da830 platform.
This patch resolves the naming conflict by replacing the macro DA8XX_LPSC0_DMAX with DA8XX_LPSC0_PRUSS.

---
 arch/arm/mach-davinci/da830.c            |    2 +-
 arch/arm/mach-davinci/include/mach/psc.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-davinci/da830.c +1 -1
index ec23ab4..0577a5d 100644
@@ -148,7 +148,7 @@ static struct clk scr2_ss_clk = {
 static struct clk dmax_clk = {
 	.name		= "dmax",
 	.parent		= &pll0_sysclk2,
-	.lpsc		= DA8XX_LPSC0_DMAX,
+	.lpsc		= DA8XX_LPSC0_PRUSS,
 	.flags		= ALWAYS_ENABLED,
 };
 
arch/arm/mach-davinci/include/mach/psc.h +1 -1
index 62b0858..a47e6f2 100644
@@ -150,7 +150,7 @@
 #define DA8XX_LPSC0_SCR0_SS		10
 #define DA8XX_LPSC0_SCR1_SS		11
 #define DA8XX_LPSC0_SCR2_SS		12
-#define DA8XX_LPSC0_DMAX		13
+#define DA8XX_LPSC0_PRUSS		13
 #define DA8XX_LPSC0_ARM			14
 #define DA8XX_LPSC0_GEM			15
 
Signature · 1 line
1.7.2.3
#1 lore raw

Hi Subhasish,

Please add a "davinci: " prefix to the subject line of mach-davinci patches. The patch is not really specific to DA830.

Quoted 3 lines · Subhasish Ghosh

The PRUSS was named as DMAX on da830 platform.
This patch resolves the naming conflict by replacing the macro DA8XX_LPSC0_DMAX with DA8XX_LPSC0_PRUSS.

This description is inaccurate. Firstly, there is no naming conflict. DMAX is an internal name for the module which is known as PRUSS in TI public documentation. This patch just gets the code in sync with TI documentation.

Can you please update the subject and re-spin this patch?

Thanks,
Sekhar

Quoted 37 lines
---
 arch/arm/mach-davinci/da830.c            |    2 +-
 arch/arm/mach-davinci/include/mach/psc.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-davinci/da830.c +1 -1
index ec23ab4..0577a5d 100644
@@ -148,7 +148,7 @@ static struct clk scr2_ss_clk = {
 static struct clk dmax_clk = {
 	.name		= "dmax",
 	.parent		= &pll0_sysclk2,
-	.lpsc		= DA8XX_LPSC0_DMAX,
+	.lpsc		= DA8XX_LPSC0_PRUSS,
 	.flags		= ALWAYS_ENABLED,
 };
 
arch/arm/mach-davinci/include/mach/psc.h +1 -1
index 62b0858..a47e6f2 100644
@@ -150,7 +150,7 @@
 #define DA8XX_LPSC0_SCR0_SS		10
 #define DA8XX_LPSC0_SCR1_SS		11
 #define DA8XX_LPSC0_SCR2_SS		12
-#define DA8XX_LPSC0_DMAX		13
+#define DA8XX_LPSC0_PRUSS		13
 #define DA8XX_LPSC0_ARM			14
 #define DA8XX_LPSC0_GEM			15
 
Signature · 1 line
1.7.2.3
#2 lore raw
Quoted 5 lines

Hi Subhasish,

Please add a "davinci: " prefix to the subject line of mach-davinci patches. The patch is not really specific to DA830.

SG -- OK, Will do

Quoted 6 lines · Subhasish Ghosh
Quoted 3 lines

The PRUSS was named as DMAX on da830 platform.
This patch resolves the naming conflict by replacing the macro DA8XX_LPSC0_DMAX with DA8XX_LPSC0_PRUSS.

Quoted 6 lines

This description is inaccurate. Firstly, there is no naming conflict. DMAX is an internal name for the module which is known as PRUSS in TI public documentation. This patch just gets the code in sync with TI documentation.

Can you please update the subject and re-spin this patch?

SG - OK, Will do.

Quoted 42 lines

Thanks,
Sekhar

Quoted 37 lines
---
 arch/arm/mach-davinci/da830.c            |    2 +-
 arch/arm/mach-davinci/include/mach/psc.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-davinci/da830.c +1 -1
index ec23ab4..0577a5d 100644
@@ -148,7 +148,7 @@ static struct clk scr2_ss_clk = {
 static struct clk dmax_clk = {
 .name = "dmax",
 .parent = &pll0_sysclk2,
- .lpsc = DA8XX_LPSC0_DMAX,
+ .lpsc = DA8XX_LPSC0_PRUSS,
 .flags = ALWAYS_ENABLED,
 };
 
arch/arm/mach-davinci/include/mach/psc.h +1 -1
index 62b0858..a47e6f2 100644
@@ -150,7 +150,7 @@
 #define DA8XX_LPSC0_SCR0_SS 10
 #define DA8XX_LPSC0_SCR1_SS 11
 #define DA8XX_LPSC0_SCR2_SS 12
-#define DA8XX_LPSC0_DMAX 13
+#define DA8XX_LPSC0_PRUSS 13
 #define DA8XX_LPSC0_ARM 14
 #define DA8XX_LPSC0_GEM 15
 
Signature · 1 line
1.7.2.3