]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: r8a7740: Add D4 pm domain support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Oct 2014 11:18:58 +0000 (13:18 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 27 Oct 2014 23:40:17 +0000 (08:40 +0900)
commit7e81f5434db5bbef3ac55d3f44f702566c0323c6
tree8c555387b2353fac9331b490ae606cb1186216da
parent77192e1e25a57a519df30015b29c046bd6a769fc
ARM: shmobile: r8a7740: Add D4 pm domain support

Add support for the D4 power domain.
This domain contains the Coresight-ETM hardware block.

As long as the ARM debug/perf code doesn't use resource management with
runtime PM support, the D4 power domain must be kept powered to avoid a
crash during resume from s2ram (dbg_cpu_pm_notify() calls
reset_ctrl_regs() unconditionally, causing an undefined instruction
oops).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/pm-r8a7740.c