aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarun Tuli <taruntuli@google.com>2023-06-21 19:41:17 +0000
committerNick Vaccaro <nvaccaro@google.com>2023-06-22 16:30:46 +0000
commit11734053fb62e9d531449995271aeb295133c0da (patch)
treeb20839f8c831c24dce704579c8ae1d0bcae85cc0
parent8f6af5ba13ed496ee715d7387008cd55f57b82cb (diff)
mb/google/brya/acpi: Set power down delay to 2ms after PEXVDD
Reduce the delay between PEXVDD and NVVDD from 3ms to 2ms during power down sequences. The hardware discharge is aggressive enough that we can safely optimize this. BUG=b:288267305 TEST=build and measured delay is acceptable Signed-off-by: Tarun Tuli <taruntuli@google.com> Change-Id: I7c65301414044487e50bbbca618c4e602e571cfb Reviewed-on: https://review.coreboot.org/c/coreboot/+/76051 Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/mainboard/google/brya/acpi/power.asl4
-rw-r--r--src/mainboard/google/brya/variants/hades/variant.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/brya/acpi/power.asl b/src/mainboard/google/brya/acpi/power.asl
index a51bcaa3e6..7eb31d8f3b 100644
--- a/src/mainboard/google/brya/acpi/power.asl
+++ b/src/mainboard/google/brya/acpi/power.asl
@@ -140,7 +140,7 @@ Method (GC6I, 0, Serialized)
#if CONFIG(BOARD_GOOGLE_AGAH)
Sleep (10)
#else
- Sleep (3)
+ Sleep (2)
#endif
/* Deassert EN_PPVAR_GPU_NVVDD */
@@ -290,7 +290,7 @@ Method (PGOF, 0, Serialized)
#if CONFIG(BOARD_GOOGLE_AGAH)
Sleep (10)
#else
- Sleep (3)
+ Sleep (2)
#endif
/* Ramp down NVVDD */
diff --git a/src/mainboard/google/brya/variants/hades/variant.c b/src/mainboard/google/brya/variants/hades/variant.c
index 0864ec007f..48e2652e8e 100644
--- a/src/mainboard/google/brya/variants/hades/variant.c
+++ b/src/mainboard/google/brya/variants/hades/variant.c
@@ -61,7 +61,7 @@ static struct power_rail_sequence gpu_on_seq[] = {
/* In GCOFF entry order (i.e., power-off order) */
static struct power_rail_sequence gpu_off_seq[] = {
{ "FBVDD", FBVDD_PWR_EN, false, FBVDD_PG, 0,},
- { "PEXVDD", PEXVDD_PWR_EN, false, PEXVDD_PG, 3,},
+ { "PEXVDD", PEXVDD_PWR_EN, false, PEXVDD_PG, 2,},
{ "NVVDD+MSVDD", NVVDD_PWR_EN, false, NVVDD_PG, 2,},
{ "GPU 3.3V", GPU_3V3_PWR_EN, false, GPU_3V3_PG, 4,},
{ "GPU 1.8V", GPU_1V8_PWR_EN, false, GPU_1V8_PG, 0,},