From 992c7dba7e8513a63222b4d34b218864df20a609 Mon Sep 17 00:00:00 2001 From: Douglas Anderson Date: Mon, 17 Apr 2017 13:18:11 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/479463 Reviewed-by: Julius Werner Reviewed-on: https://review.coreboot.org/19357 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/google/gru/romstage.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3