diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-01-27 14:40:11 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-01 01:11:00 +0000 |
commit | 71da3cda2154a29aa919bea21820df963c780831 (patch) | |
tree | a19ee249cf9425a6d85ba31a18b2b7a693e76170 /board/trogdor/board.h | |
parent | 533a9c70dc94ddf4c98d7bf7ad2faf980acf9ec2 (diff) | |
download | chrome-ec-71da3cda2154a29aa919bea21820df963c780831.tar.gz |
Trogdor: Rename AP_SUSPEND and add its power signal interrupt
Rename the GPIO from AP_SUSPEND_L to AP_SUSPEND as it is active high.
Add its power signal interrupt for easily checking the change.
Enable the config of the debug command powerindebug.
BRANCH=None
BUG=b:146470739, b:148149387
TEST=Checked the AP_SUSPEND power signal status on EC coonsole.
Change-Id: I4fb5684abb6a3367f5ebc54624f286d8c564d91c
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2023279
Commit-Queue: Alexandru M Stan <amstan@chromium.org>
Tested-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'board/trogdor/board.h')
-rw-r--r-- | board/trogdor/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/trogdor/board.h b/board/trogdor/board.h index 0bd76f8936..a576a48747 100644 --- a/board/trogdor/board.h +++ b/board/trogdor/board.h @@ -13,6 +13,7 @@ #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands. */ #define CONFIG_USB_PD_DEBUG_LEVEL 3 #define CONFIG_CMD_AP_RESET_LOG +#define CONFIG_CMD_POWERINDEBUG #define CONFIG_HOSTCMD_AP_RESET /* @@ -200,6 +201,7 @@ enum power_signal { SC7180_PMIC_FAULT_L, SC7180_POWER_GOOD, SC7180_WARM_RESET, + SC7180_AP_SUSPEND, /* Number of power signals */ POWER_SIGNAL_COUNT }; |