Skip to contentSkip to conversation

ARM: DRA7: hwmod: Fix OCP2SCP sysconfig

PATCH Superseded Kishon Vijay Abraham I 2 participants 3 messages Feb 4, 2016 – Feb 8, 2016

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: DRA7: hwmod: Fix OCP2SCP sysconfig

OCP2SCP doesn't support smart idle wakeup according to DRA72x_SR1.0_NDA_TRM_vL and DRA75x_DRA74x_SR1.1_NDA_TRM_vW. Remove SIDLE_SMART_WKUP from the list of supported SIDLE modes in hwmod data.

---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +1 -2
index 848356e..84c2699 100644
@@ -1482,8 +1482,7 @@ static struct omap_hwmod_class_sysconfig dra7xx_ocp2scp_sysc = {
 	.syss_offs	= 0x0014,
 	.sysc_flags	= (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE |
 			   SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
-	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
-			   SIDLE_SMART_WKUP),
+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
 	.sysc_fields	= &omap_hwmod_sysc_type1,
 };
 
Signature · 1 line
1.7.9.5
#1 lore raw

Hi,

Quoted 2 lines · Kishon Vijay Abraham I

OCP2SCP doesn't support smart idle wakeup according to DRA72x_SR1.0_NDA_TRM_vL and DRA75x_DRA74x_SR1.1_NDA_TRM_vW.

Ignore this patch. I'll re-send the patch with a public TRM link.

Thanks
Kishon

Quoted 23 lines

Remove SIDLE_SMART_WKUP from the list of supported SIDLE modes in hwmod data.

---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +1 -2
index 848356e..84c2699 100644
@@ -1482,8 +1482,7 @@ static struct omap_hwmod_class_sysconfig dra7xx_ocp2scp_sysc = {
 	.syss_offs	= 0x0014,
 	.sysc_flags	= (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE |
 			   SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
-	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
-			   SIDLE_SMART_WKUP),
+	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
 	.sysc_fields	= &omap_hwmod_sysc_type1,
 };
 
maintainer
#2 lore raw
Quoted 7 lines · Kishon Vijay Abraham I

Hi,

Quoted 2 lines · Kishon Vijay Abraham I

OCP2SCP doesn't support smart idle wakeup according to DRA72x_SR1.0_NDA_TRM_vL and DRA75x_DRA74x_SR1.1_NDA_TRM_vW.

Ignore this patch. I'll re-send the patch with a public TRM link.

OK, I'll wait for the repost.

- Paul