diff mbox

[08/11,WIP] ARM: shmobile: r8a7740: Add D4 pm domain support

Message ID 1409320217-13278-9-git-send-email-geert+renesas@glider.be (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Geert Uytterhoeven Aug. 29, 2014, 1:50 p.m. UTC
Add support for the D4 power domain.
This domain contains the Coresight-ETM hardware block.

FIXME: D4 is not added, as this breaks resume (dbg_cpu_pm_notify() calls
       reset_ctrl_regs(), which crashes as D4 is powered down, and commit
       0d352e3d006c9589 ("ARM: hw_breakpoint: trap undef instruction
       exceptions in reset_ctrl_regs") doesn't seem to work...)

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/mach-shmobile/pm-r8a7740.c |    3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c
index 86b2df8b5391..cbdb87c67711 100644
--- a/arch/arm/mach-shmobile/pm-r8a7740.c
+++ b/arch/arm/mach-shmobile/pm-r8a7740.c
@@ -40,6 +40,9 @@  static struct rmobile_pm_domain r8a7740_pm_domains[] = {
 //		.genpd.name	= "A4MP",
 //		.bit_shift	= 2,
 //	}, {
+//		.genpd.name	= "D4",
+//		.bit_shift	= 3,
+//	}, {
 		.genpd.name	= "A3RV",
 		.bit_shift	= 6,
 	}, {