Commit 1fcd3069 authored by Jean Pihet's avatar Jean Pihet Committed by Kevin Hilman

ARM: OMAP3: hwmod: rename the smartreflex entries

Change the name field value to better reflect the smartreflex
integration in the system.
Signed-off-by: default avatarJean Pihet <j-pihet@ti.com>
Signed-off-by: default avatarJ Keerthy <j-keerthy@ti.com>
Reviewed-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 8b765d72
...@@ -1325,7 +1325,7 @@ static struct omap_hwmod_irq_info omap3_smartreflex_mpu_irqs[] = { ...@@ -1325,7 +1325,7 @@ static struct omap_hwmod_irq_info omap3_smartreflex_mpu_irqs[] = {
}; };
static struct omap_hwmod omap34xx_sr1_hwmod = { static struct omap_hwmod omap34xx_sr1_hwmod = {
.name = "sr1", .name = "smartreflex_mpu_iva",
.class = &omap34xx_smartreflex_hwmod_class, .class = &omap34xx_smartreflex_hwmod_class,
.main_clk = "sr1_fck", .main_clk = "sr1_fck",
.prcm = { .prcm = {
...@@ -1343,7 +1343,7 @@ static struct omap_hwmod omap34xx_sr1_hwmod = { ...@@ -1343,7 +1343,7 @@ static struct omap_hwmod omap34xx_sr1_hwmod = {
}; };
static struct omap_hwmod omap36xx_sr1_hwmod = { static struct omap_hwmod omap36xx_sr1_hwmod = {
.name = "sr1", .name = "smartreflex_mpu_iva",
.class = &omap36xx_smartreflex_hwmod_class, .class = &omap36xx_smartreflex_hwmod_class,
.main_clk = "sr1_fck", .main_clk = "sr1_fck",
.prcm = { .prcm = {
...@@ -1370,7 +1370,7 @@ static struct omap_hwmod_irq_info omap3_smartreflex_core_irqs[] = { ...@@ -1370,7 +1370,7 @@ static struct omap_hwmod_irq_info omap3_smartreflex_core_irqs[] = {
}; };
static struct omap_hwmod omap34xx_sr2_hwmod = { static struct omap_hwmod omap34xx_sr2_hwmod = {
.name = "sr2", .name = "smartreflex_core",
.class = &omap34xx_smartreflex_hwmod_class, .class = &omap34xx_smartreflex_hwmod_class,
.main_clk = "sr2_fck", .main_clk = "sr2_fck",
.prcm = { .prcm = {
...@@ -1388,7 +1388,7 @@ static struct omap_hwmod omap34xx_sr2_hwmod = { ...@@ -1388,7 +1388,7 @@ static struct omap_hwmod omap34xx_sr2_hwmod = {
}; };
static struct omap_hwmod omap36xx_sr2_hwmod = { static struct omap_hwmod omap36xx_sr2_hwmod = {
.name = "sr2", .name = "smartreflex_core",
.class = &omap36xx_smartreflex_hwmod_class, .class = &omap36xx_smartreflex_hwmod_class,
.main_clk = "sr2_fck", .main_clk = "sr2_fck",
.prcm = { .prcm = {
......
...@@ -183,7 +183,7 @@ static void sr_set_regfields(struct omap_sr *sr) ...@@ -183,7 +183,7 @@ static void sr_set_regfields(struct omap_sr *sr)
sr->err_weight = OMAP3430_SR_ERRWEIGHT; sr->err_weight = OMAP3430_SR_ERRWEIGHT;
sr->err_maxlimit = OMAP3430_SR_ERRMAXLIMIT; sr->err_maxlimit = OMAP3430_SR_ERRMAXLIMIT;
sr->accum_data = OMAP3430_SR_ACCUMDATA; sr->accum_data = OMAP3430_SR_ACCUMDATA;
if (!(strcmp(sr->name, "sr1"))) { if (!(strcmp(sr->name, "smartreflex_mpu_iva"))) {
sr->senn_avgweight = OMAP3430_SR1_SENNAVGWEIGHT; sr->senn_avgweight = OMAP3430_SR1_SENNAVGWEIGHT;
sr->senp_avgweight = OMAP3430_SR1_SENPAVGWEIGHT; sr->senp_avgweight = OMAP3430_SR1_SENPAVGWEIGHT;
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment