diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-06-21 03:58:02 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-27 22:54:16 +0000 |
commit | 9924b19d6fa21d4c7b807017b30c3ee07a204733 (patch) | |
tree | e1f3046b2b3b7e3a8ba5a73c041a10596042d77b /board/samus | |
parent | 635a57eedede073773e461101a2f6251ad57eb89 (diff) | |
download | chrome-ec-9924b19d6fa21d4c7b807017b30c3ee07a204733.tar.gz |
samus: set various GPIOs to interrupt on deep sleep
Set input points to interrupt on deep sleep as necessary.
BUG=none
BRANCH=none
TEST=make -j buildall and run on system without any notable
differences.
Change-Id: I7bcf336a676e259dfa4c73ffc7152f16f14093d2
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/205146
Diffstat (limited to 'board/samus')
-rw-r--r-- | board/samus/gpio.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/samus/gpio.inc b/board/samus/gpio.inc index 5a20e790cf..f1d259b1e4 100644 --- a/board/samus/gpio.inc +++ b/board/samus/gpio.inc @@ -7,17 +7,17 @@ /* Inputs with interrupt handlers are first for efficiency */ /* Power button */ -GPIO(POWER_BUTTON_L, A, 2, GPIO_INT_BOTH, power_button_interrupt) +GPIO(POWER_BUTTON_L, A, 2, GPIO_INT_BOTH_DSLEEP, power_button_interrupt) /* Lid switch */ -GPIO(LID_OPEN, A, 3, GPIO_INT_BOTH, lid_interrupt) +GPIO(LID_OPEN, A, 3, GPIO_INT_BOTH_DSLEEP, lid_interrupt) /* AC power present */ -GPIO(AC_PRESENT, H, 3, GPIO_INT_BOTH, extpower_interrupt) +GPIO(AC_PRESENT, H, 3, GPIO_INT_BOTH_DSLEEP, extpower_interrupt) /* SLP_S0# signal from PCH */ GPIO(PCH_SLP_S0_L, G, 6, GPIO_INT_BOTH, power_signal_interrupt) /* SLP_S3# signal from PCH */ -GPIO(PCH_SLP_S3_L, G, 7, GPIO_INT_BOTH, power_signal_interrupt) +GPIO(PCH_SLP_S3_L, G, 7, GPIO_INT_BOTH_DSLEEP, power_signal_interrupt) /* SLP_S5# signal from PCH */ -GPIO(PCH_SLP_S5_L, H, 1, GPIO_INT_BOTH, power_signal_interrupt) +GPIO(PCH_SLP_S5_L, H, 1, GPIO_INT_BOTH_DSLEEP, power_signal_interrupt) /* SLP_SUS# signal from PCH */ GPIO(PCH_SLP_SUS_L, G, 3, GPIO_INT_BOTH, power_signal_interrupt) /* SUSWARN# signal from PCH */ |