If INT ASV lock bit is configured, all voltages in the INT ASV table
have to be increased by 25mV.
BUG=chrome-os-partner:16615
TEST=Compile and boot kernel, cannot test
the exact changes till we get the new chip.
Change-Id: I64ec69874bd4753b61efd46708cdf82046310dd2
Signed-off-by: Arjun.K.V <arjun.kv@samsung.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/39466
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Commit-Queue: Doug Anderson <dianders@chromium.org>
#define ASV_GROUP_10 10
#define ASV_GROUP_12 12
#define MIF_ASV_GROUP 3
+#define INT_ASV_VOL_OFFSET 25000
static struct clk *mout_bpll;
static struct clk *mout_mpll;
else if (exynos_lot_id)
exynos5_busfreq_table_int[i].volt =
exynos5_int_volt_orig[asv_group_index][i];
+ else if (int_vol_lock)
+ exynos5_busfreq_table_int[i].volt =
+ exynos5_int_volt[asv_group_index][i] +
+ INT_ASV_VOL_OFFSET;
else
exynos5_busfreq_table_int[i].volt =
exynos5_int_volt[asv_group_index][i];
extern unsigned int exynos_result_mif_asv;
extern bool exynos_lot_id;
extern bool exynos_lot_is_nzvpu;
+extern bool int_vol_lock;
enum busfreq_level_idx {
LV_0,