summaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2017-04-17 13:18:11 -0700
committerJulius Werner <jwerner@chromium.org>2017-04-19 22:49:01 +0200
commit992c7dba7e8513a63222b4d34b218864df20a609 (patch)
treefa1e60e31de0e7ce42f143f42d0d66952033eedc /src/mainboard/google/gru
parent38bee539b12c11c3bba453858b748fd741097f76 (diff)
downloadcoreboot-992c7dba7e8513a63222b4d34b218864df20a609.tar.xz
google/gru: change kevin boot-time center logic voltage to 925mV
Kevin's center logic isn't super clean so it needs 925 mV for center logic. All newer gru variants only need 900 mV. BRANCH=gru BUG=b:37429075 TEST=Reboot tests Change-Id: I8c3bd6c245700b23c27cd5758c35c9993f801cb4 Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/479463 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/19357 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google/gru')
-rw-r--r--src/mainboard/google/gru/romstage.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/google/gru/romstage.c b/src/mainboard/google/gru/romstage.c
index 4ea53181ae..7c0dfd0594 100644
--- a/src/mainboard/google/gru/romstage.c
+++ b/src/mainboard/google/gru/romstage.c
@@ -38,7 +38,13 @@ static void init_dvs_outputs(void)
{
pwm_regulator_configure(PWM_REGULATOR_GPU, 900);
pwm_regulator_configure(PWM_REGULATOR_BIG, 900);
- pwm_regulator_configure(PWM_REGULATOR_CENTERLOG, 900);
+
+ /* Kevin's logic rail has some ripple, so up the voltage a bit */
+ if (IS_ENABLED(CONFIG_BOARD_GOOGLE_KEVIN))
+ pwm_regulator_configure(PWM_REGULATOR_CENTERLOG, 925);
+ else
+ pwm_regulator_configure(PWM_REGULATOR_CENTERLOG, 900);
+
/* Allow time for the regulators to settle */
udelay(500);
}