summaryrefslogtreecommitdiff
path: root/board/lazor/gpio.inc
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-10-02 16:17:29 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-08 02:07:12 +0000
commit75dffd13af1c810d46fca88c9846af4653843145 (patch)
treeb80cd607d80bd8833b20d11250b4a090360c813a /board/lazor/gpio.inc
parent37a2a114e66a9832605282b7b14285bcee965e9f (diff)
downloadchrome-ec-75dffd13af1c810d46fca88c9846af4653843145.tar.gz
Trogdor: Assert a GPIO to turn off rails before enter hibernate
We disabled the PSL mode hibernate. We uses another GPIO to control switches, which were originally controlled by PSL_OUT. Add this GPIO, named HIBERNATE_L, such that the non-PSL mode hibernate can retrofit the original design. BRANCH=None BUG=b:169797080 TEST=Triggered EC hibernate and checked the HIBERNATE_L GPIO asserted. Change-Id: I69c0d0296f701f3027adfd4d27fa51bdae0844a5 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2446662 Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'board/lazor/gpio.inc')
-rw-r--r--board/lazor/gpio.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/lazor/gpio.inc b/board/lazor/gpio.inc
index e15587c121..5b0fb5e522 100644
--- a/board/lazor/gpio.inc
+++ b/board/lazor/gpio.inc
@@ -65,6 +65,7 @@ GPIO(EC_INT_L, PIN(A, 2), GPIO_ODR_HIGH) /* Interrupt line between
GPIO(QSIP_ON, PIN(5, 0), GPIO_OUT_LOW) /* Not used, for non-switchcap testing */
/* Power enables */
+GPIO(HIBERNATE_L, PIN(5, 2), GPIO_OUT_HIGH) /* EC hibernate */
GPIO(SWITCHCAP_ON, PIN(D, 5), GPIO_OUT_LOW) /* Enable switch cap; will be configured in the board init */
/* TODO(waihong): Remove it. The VBOB switch is for backup. */
GPIO(VBOB_EN, PIN(D, 3), GPIO_OUT_LOW) /* Enable VBOB */