exynos5: asv: Call the core ASV code early
authorAbhilash Kesavan <a.kesavan@samsung.com>
Fri, 21 Dec 2012 04:14:39 +0000 (09:44 +0530)
committerChromeBot <chrome-bot@google.com>
Wed, 9 Jan 2013 19:48:54 +0000 (11:48 -0800)
commit0947da07a809fe38b056ca0618a071cbb198a0e9
tree45eba772898b29352f763a0ade6e90d3dfb9f323
parent88d671b97210d6f823bc9760a073f8aa659a8433
exynos5: asv: Call the core ASV code early

Change the priority of ASV code initialization. The core ASV code
finds the speed group, lot id and exposes it to various consumer
drivers like busfreq, G3D and CPUfreq. Among these, the G3D driver
is getting called before the core code and thus is always getting
the ASV speed group as 0. Fix this by calling the core ASV early.

BUG=chrome-os-partner:16796
TEST=Checked that G3D, ARM and INT drivers are all getting the same
ASV group on 2 different boards (1 MP and 1 PVT). Also, verified that
the voltages match that speed group.

Change-Id: I1ca234a770bbd8b2d590a83377ee44527327066b
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/40076
Reviewed-by: Doug Anderson <dianders@chromium.org>
Commit-Queue: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
arch/arm/mach-exynos/asv-5250.c