summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-01-13 12:31:07 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-01-14 00:37:21 -0800
commit71ddb610c29211230cdc7e3649f4e15e1a566028 (patch)
tree1f86153c7972948e61615739550ef4a600c30691
parent1d1042c1d575c9b9d4e54b183e56fe840d05efb2 (diff)
downloadchrome-ec-71ddb610c29211230cdc7e3649f4e15e1a566028.tar.gz
poppy: Set PP3300_DX_CAM high and CAM_PMIC_RST_L as input
These pins should be moved to AP in a later HW revision, keep them always active for now. Also, leave CAM_PMIC_RST_L as input as there is an internal pull-up in the PMIC, and driving it high breaks WLAN+LTE. BRANCH=none BUG=chrome-os-partner:61098 TEST=ectool gpioget: Both signals are high Change-Id: I66115daec57ca4d89c1c664e6b35825b20fa0c1a Reviewed-on: https://chromium-review.googlesource.com/427743 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
-rw-r--r--board/poppy/gpio.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/poppy/gpio.inc b/board/poppy/gpio.inc
index 0e61112828..4791af4e9c 100644
--- a/board/poppy/gpio.inc
+++ b/board/poppy/gpio.inc
@@ -58,8 +58,8 @@ GPIO(PP3300_USB_PD, PIN(2, 0), GPIO_OUTPUT)
GPIO(PP5000_DX_NFC, PIN(1, 5), GPIO_OUTPUT)
-GPIO(PP3300_DX_CAM, PIN(1, 0), GPIO_OUTPUT)
-GPIO(CAM_PMIC_RST_L, PIN(0, 7), GPIO_OUTPUT)
+GPIO(PP3300_DX_CAM, PIN(1, 0), GPIO_OUT_HIGH)
+GPIO(CAM_PMIC_RST_L, PIN(0, 7), GPIO_INPUT)
GPIO(WLAN_PE_RST, PIN(1, 2), GPIO_OUTPUT)
GPIO(PP3300_DX_LTE, PIN(0, 5), GPIO_OUT_HIGH)