diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-07-10 09:08:32 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-13 23:27:23 +0000 |
commit | 693bf0e40b72665c1d72c8397bb9acf3f59e7b45 (patch) | |
tree | 4229bd95a78c48ecd3df6da2a5d262e295358916 /board/oak/gpio.inc | |
parent | 6938acd6d9e81b93ba964237312e4ae254812316 (diff) | |
download | chrome-ec-693bf0e40b72665c1d72c8397bb9acf3f59e7b45.tar.gz |
cleanup: remove GPIO_INT_DSLEEP from chips where it's not useful
GPIO_INT_DSLEEP is useful on LM4 to save power when in deep sleep
by allowing us to disable clock to gpio blocks unless it's needed
as a wake source. The MEC and ST chips don't have this option, so
all gpio's can be used as wake source from deep sleep. Therefore
remove this flag from all boards where this flag doesn't do
anything to remove confusion.
BUG=none
BRANCH=none
TEST=make -j buildall
Change-Id: I4cb175431a22f100035a81b32e9367b510f4836e
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/284742
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/oak/gpio.inc')
-rw-r--r-- | board/oak/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/oak/gpio.inc b/board/oak/gpio.inc index 9b64561ec8..46fc0ec80f 100644 --- a/board/oak/gpio.inc +++ b/board/oak/gpio.inc @@ -12,7 +12,7 @@ GPIO_INT(SOC_POWER_GOOD, PIN(A, 3), GPIO_INT_BOTH | GPIO_PULL_DOWN, power_si GPIO_INT(LID_OPEN, PIN(C, 13), GPIO_INT_BOTH, lid_interrupt) /* LID switch detection */ GPIO_INT(SUSPEND_L, PIN(C, 7), GPIO_INT_BOTH, power_signal_interrupt) /* AP suspend/resume state */ GPIO_INT(VBUS_WAKE_L, PIN(E, 1), GPIO_INT_BOTH, vbus_wake_interrupt) /* VBUS wake: PE 1 */ -GPIO_INT(PD_MCU_INT, PIN(E, 0), GPIO_INT_FALLING | GPIO_INT_DSLEEP,pd_mcu_interrupt) /* Signal from PD MCU, external pull-up */ +GPIO_INT(PD_MCU_INT, PIN(E, 0), GPIO_INT_FALLING, pd_mcu_interrupt) /* Signal from PD MCU, external pull-up */ GPIO_INT(SPI1_NSS, PIN(A, 4), GPIO_INT_BOTH | GPIO_PULL_UP, spi_event) /* SPI Chip Select */ GPIO_INT(AP_RESET_L, PIN(C, 3), GPIO_INT_BOTH | GPIO_PULL_UP, ap_reset_interrupt) /* AP reset signal from servo board */ |