summaryrefslogtreecommitdiff
path: root/board/snow/board.h
diff options
context:
space:
mode:
authorSimon Que <sque@chromium.org>2012-08-09 10:51:39 -0700
committerGerrit <chrome-bot@google.com>2012-08-14 17:04:50 -0700
commit1178484e0e728ab123b8bf3433624c92936b7229 (patch)
tree929bc04c58c5a114877e63efe88a1363cc887dfb /board/snow/board.h
parent6bbddfbfb85ed31b2b821ef1cb3077faf8d1dc44 (diff)
downloadchrome-ec-1178484e0e728ab123b8bf3433624c92936b7229.tar.gz
Handle IRQ from TPS65090, pass AC status to AP
Changes made by this patch: 1. Create IRQ handler for the TPS65090 IRQ. IRQ wakes up charger task. 2. Charger task sets the AC_STATUS GPIO based on the AC status. 3. Initialize PMU at power-on. BRANCH=snow BUG=chrome-os-partner:11739 TEST=Power on the system, with servo v2 connected to EC console. Plug and unplug AC. The IRQ handler should be triggered. Change-Id: Ice23411c275111fdb56d2c47ba28c3c44dee4d71 Signed-off-by: Simon Que <sque@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/29914 Commit-Ready: Rong Chang <rongchang@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org> Tested-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board/snow/board.h')
-rw-r--r--board/snow/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/snow/board.h b/board/snow/board.h
index 2e72250b34..c7ecae04e7 100644
--- a/board/snow/board.h
+++ b/board/snow/board.h
@@ -77,6 +77,7 @@ enum gpio_signal {
GPIO_AC_PWRBTN_L,
GPIO_SPI1_NSS,
/* Outputs */
+ GPIO_AC_STATUS,
GPIO_SPI1_MISO,
GPIO_EN_PP1350, /* DDR 1.35v rail enable */
GPIO_EN_PP5000, /* 5.0v rail enable */