From 445a01de4248361c109f06a94274b7030751ddaa Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 22 Nov 2019 14:52:34 -0700 Subject: [PATCH] Debug power functions --- src/board/system76/galp3-c/power.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/board/system76/galp3-c/power.c b/src/board/system76/galp3-c/power.c index b1a2e77..1398fb0 100644 --- a/src/board/system76/galp3-c/power.c +++ b/src/board/system76/galp3-c/power.c @@ -64,6 +64,8 @@ static struct Gpio __code SUS_PWR_ACK = GPIO(J, 0); // Enable deep sleep well power void power_on_ds5() { + DEBUG("power_on_ds5\n"); + #if DEEP_SX // See Figure 12-18 in Whiskey Lake Platform Design Guide // | VCCRTC | RTCRST# | VCCDSW_3P3 | DSW_PWROK | @@ -93,6 +95,8 @@ void power_on_ds5() { // Enable S5 power void power_on_s5() { + DEBUG("power_on_s5\n"); + #if DEEP_SX // See Figure 12-18 in Whiskey Lake Platform Design Guide @@ -130,6 +134,8 @@ void power_on_s5() { } void power_off_s5() { + DEBUG("power_off_s5\n"); + #if DEEP_SX // TODO #else // DEEP_SX