]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commit
CHERRY-PICK: arm: exynos: Enable CHIP ID clock
authorAbhilash Kesavan <a.kesavan@samsung.com>
Fri, 14 Dec 2012 06:02:19 +0000 (11:32 +0530)
committerDoug Anderson <dianders@chromium.org>
Wed, 9 Jan 2013 23:48:47 +0000 (15:48 -0800)
commit7e8a03c1949e90e44437da69f8c841eaada93ebd
tree35dbd187757fc1ef55ea9126928dc4a8df5b1a2a
parent64c9cb9be2079d3cd3c8f566b42329f39e53b059
CHERRY-PICK: arm: exynos: Enable CHIP ID clock

The bootloader may gate the CLK_CHIPID_APBIF which will cause
an invalid value to be read for the Package ID in ASV. Explicitly
enable the clock in the ASV driver.

BUG=chrome-os-partner:16796
TEST=Boot 5 different snows to the login screen. Verify that the clock
is enabled and the appropriate speed group is being selected. Do a few
suspend/resume cycles with reboots.

Change-Id: Id5a0ec599c7aedc9ae98297fbc035fce887c8bd5
Original-Change-Id:  Ib094b748301b7e882a50ae056bd9f0f795c133e5
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
(cherry picked from commit eeb5bd2fd266d9980fa4ee73be4c37ff732f0f3b)

Reviewed-on: https://gerrit.chromium.org/gerrit/40951
Reviewed-by: Olof Johansson <olofj@chromium.org>
arch/arm/mach-exynos/asv-5250.c
arch/arm/mach-exynos/clock-exynos5.c