From f8ac3e035e3f66ec2136aa7da1f527176b8ac493 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 6 Nov 2015 11:30:15 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/311307 Reviewed-by: Aaron Durbin Reviewed-by: Alec Berg Reviewed-by: Shawn N --- board/chell/board.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- cgit v1.2.1