[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sh
Subject:    [PATCH 08/11] [WIP] ARM: shmobile: r8a7740: Add D4 pm domain support
From:       Geert Uytterhoeven <geert+renesas () glider ! be>
Date:       2014-08-29 13:50:14
Message-ID: 1409320217-13278-9-git-send-email-geert+renesas () glider ! be
[Download RAW message or body]

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 --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,
 	}, {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic