summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2015-11-06 11:30:15 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-11 11:00:48 -0800
commitf8ac3e035e3f66ec2136aa7da1f527176b8ac493 (patch)
treebcb2fb6e2cc84a993135ac7a0c4b06f9e3abf710
parentb234b9ecc7d23b6f33e452d97158326afaa4de35 (diff)
downloadchrome-ec-f8ac3e035e3f66ec2136aa7da1f527176b8ac493.tar.gz
chell: Fix hibernate by not touching PMIC reset pin
This pin is active high to reset the pmic so it can't be pulled up without resetting the EC. BUG=chrome-os-partner:47237 BRANCH=none TEST=hibernate on chell Change-Id: I3c09a991825544bd5bf5437f4a802e2dd2990807 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/311307 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/chell/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/chell/board.c b/board/chell/board.c
index 52af086498..1ebdc179a9 100644
--- a/board/chell/board.c
+++ b/board/chell/board.c
@@ -329,6 +329,8 @@ uint32_t board_get_gpio_hibernate_state(uint32_t port, uint32_t pin)
* event once we leave hibernate.
*/
GPIO_TO_PORT_MASK_PAIR(GPIO_USB_PD_WAKE),
+ /* The GPIO to reset PMIC is active high */
+ GPIO_TO_PORT_MASK_PAIR(GPIO_PMIC_LDO_EN),
};
/* LED GPIOs should be driven low to turn off LEDs */