projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608f45c
)
r8a7791: PM: add power on SGX in pm init
64/34664/1
author
Tomohito Esaki
<etom@igel.co.jp>
Tue, 27 Jan 2015 05:28:52 +0000
(14:28 +0900)
committer
Damian Hobson-Garcia
<dhobsong@igel.co.jp>
Fri, 30 Jan 2015 10:19:26 +0000
(19:19 +0900)
Turn on power to the GPU by default.
Change-Id: I80e40f172649de3a2d82d4a62801cc23a05b5d42
arch/arm/mach-shmobile/pm-r8a7791.c
patch
|
blob
|
history
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 */
+ }
}