arm: exynos: Fix PMU register configuration for local power blocks
authorAbhilash Kesavan <a.kesavan@samsung.com>
Thu, 21 Feb 2013 03:48:21 +0000 (09:18 +0530)
committerChromeBot <chrome-bot@google.com>
Thu, 21 Feb 2013 21:33:44 +0000 (13:33 -0800)
commit278b7000fe02159110a3d06996ca7825c132ba02
treef275326402c3cbea365aee5e87a8aa653fc956c7
parent871b774737230a66871c5fee92ad5f10979a7a95
arm: exynos: Fix PMU register configuration for local power blocks

For the six local power blocks - MFC, DISP1, GSC, MAU, G3D and ISP
the respective CMU_RESET, CMU_SYSCLK and CMU_CLKSTOP registers need
to be low initially for normal mode. This change has been updated
only in the latest Exynos5250 1.10 user manual. Also fix the AFTR
and LPA configurations even though they are not being used.

There are no known issues fixed by doing this, though had we done this
originally for CMU_RESET_ISP_SYS_PWR_REG I believe we wouldn't have
ever hit the problems that ISP ARM was causing us with suspend/resume
(we wouldn't have had the perfect poweroff sequence for ISP ARM but
wouldn't have hit issues).

BUG=chrome-os-partner:17459
TEST=Boot to login screen on an MP and run suspend_stress_test

Change-Id: I15453224a7f9aed5de477827713e58e8edbe499d
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/42097
arch/arm/mach-exynos/pmu.c