exynos: Adjust the starting MIF voltage to 1.05v
authorBernie Thompson <bhthompson@chromium.org>
Mon, 15 Apr 2013 17:34:34 +0000 (10:34 -0700)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 24 Jun 2013 05:00:11 +0000 (14:00 +0900)
Some Exynos5250 silicon may require 1.05v on the MIF to be stable, so to be
safe we can default to 1.05v instead of 1.00v. This can be set optimally later
in the boot process by the kernel.

The 0x6 value for 1.05v comes from the MAX77686 datasheet.

Signed-off-by: Bernie Thompson <bhthompson@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdk5250/smdk5250.c
include/power/max77686_pmic.h

index 276fd413285c5c518822ac92b899f79e564af757..ae1f077c4c0e2d4387fec1a98a683858f4a47abb 100644 (file)
@@ -144,7 +144,7 @@ int power_init_board(void)
 
        /* VDD_MIF */
        if (pmic_reg_write(p, MAX77686_REG_PMIC_BUCK1OUT,
-                                               MAX77686_BUCK1OUT_1V)) {
+                                               MAX77686_BUCK1OUT_1_05V)) {
                debug("%s: PMIC %d register write failed\n", __func__,
                                                MAX77686_REG_PMIC_BUCK1OUT);
                return -1;
index fdc7ca9e5a02954f16c4dd116cea4aba4d29efee..1c374a9034cfe89cb198cfcaa2d614c4333ead83 100644 (file)
@@ -157,6 +157,8 @@ enum {
 
 /* Buck1 1 volt value */
 #define MAX77686_BUCK1OUT_1V   0x5
+/* Buck1 1.05 volt value */
+#define MAX77686_BUCK1OUT_1_05V    0x6
 #define MAX77686_BUCK1CTRL_EN  (3 << 0)
 /* Buck2 1.3 volt value */
 #define MAX77686_BUCK2DVS1_1_3V        0x38