From 8eacb8ffe21dbadb963d9cd9be958c8678346591 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 29 Oct 2013 11:30:50 -0700 Subject: rambi: Enable PP5000 at boot Due to power topology, PP5000 needs to be enabled as soon after PP3300_DSW as possible. Since PP3300_DSW is what powers the EC, the EC needs to turn on PP5000 by default and leave it on. BUG=chrome-os-partner:23673 BRANCH=none TEST=reboot ap-off (this boots the EC without doing AP power sequencing) gpioget -> shows PP5000_EN=1, PP5000_GOOD=1 Change-Id: I5d493877d330b2543a493f8a2f3411003d5964ca Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/174989 Reviewed-by: Aaron Durbin --- board/rambi/board.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/rambi') diff --git a/board/rambi/board.c b/board/rambi/board.c index 3b8247a5cc..845797139b 100644 --- a/board/rambi/board.c +++ b/board/rambi/board.c @@ -86,7 +86,11 @@ const struct gpio_info gpio_list[] = { {"PP3300_DX_EN", LM4_GPIO_J, (1<<2), GPIO_OUT_LOW, NULL}, {"PP3300_LTE_EN", LM4_GPIO_D, (1<<2), GPIO_OUT_LOW, NULL}, {"PP3300_WLAN_EN", LM4_GPIO_J, (1<<0), GPIO_OUT_LOW, NULL}, - {"PP5000_EN", LM4_GPIO_H, (1<<7), GPIO_OUT_LOW, NULL}, + /* + * TODO(crosbug.com/p/23673): PP5000_EN should default to GPIO_OUT_LOW + * once issues with Rev.1 boards are fixed. + */ + {"PP5000_EN", LM4_GPIO_H, (1<<7), GPIO_OUT_HIGH, NULL}, {"PPSX_EN", LM4_GPIO_L, (1<<6), GPIO_OUT_LOW, NULL}, {"SUSP_VR_EN", LM4_GPIO_C, (1<<7), GPIO_OUT_LOW, NULL}, {"TOUCHSCREEN_RESET_L", LM4_GPIO_N, (1<<7), GPIO_OUT_LOW, NULL}, -- cgit v1.2.1