projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r8a7791: PM: add power on SGX in pm init
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
arch
/
arm
/
mach-shmobile
/
pm-r8a7791.c
diff --git
a/arch/arm/mach-shmobile/pm-r8a7791.c
b/arch/arm/mach-shmobile/pm-r8a7791.c
index
25f107b
..
05400b1
100644
(file)
--- a/
arch/arm/mach-shmobile/pm-r8a7791.c
+++ b/
arch/arm/mach-shmobile/pm-r8a7791.c
@@
-70,4
+70,10
@@
void __init r8a7791_pm_init(void)
r8a7791_sysc_init();
shmobile_smp_apmu_suspend_init();
+
+ /* WORKARROUND: power on 3DG */
+ {
+ void __iomem *base = rcar_sysc_init(0xe6180000);
+ iowrite32(0x01, base + 0xcc); /* 0xCC: PWRONCR2 */
+ }
}