summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-03-20 11:46:02 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-03-20 21:17:32 -0700
commit2e5a5f9dae93a4a1634565b8cb91f16f76b4b4a2 (patch)
treee86bc803466e477c0bc8ebcf4a56f229252a9a64 /board
parente78307e2424d182814775a24b6fea78278475a91 (diff)
downloadchrome-ec-2e5a5f9dae93a4a1634565b8cb91f16f76b4b4a2.tar.gz
poppy: Define WIRELESS_GPIO_WWAN
In order to enable toggling on/off of LTE based on chipset power state transitions, define WIRELESS_GPIO_WWAN that would allow the common wireless component to take care of the gpio toggling. BUG=b:36447195 BRANCH=None TEST=Verified that PP3300_A drops down from 0.9V to 0.63V when apshutdown is done on EC console and system transitions to fake G3. Change-Id: Id46bcbdffde06e4929910b6ab87a6d9a96d18a23 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/457402 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Jerry Parson <jwp@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/poppy/board.h1
-rw-r--r--board/poppy/gpio.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/poppy/board.h b/board/poppy/board.h
index ec9dde37df..7d70bac5fb 100644
--- a/board/poppy/board.h
+++ b/board/poppy/board.h
@@ -39,6 +39,7 @@
(EC_WIRELESS_SWITCH_WLAN | EC_WIRELESS_SWITCH_WLAN_POWER)
#define WIRELESS_GPIO_WLAN GPIO_WLAN_OFF_L
#define WIRELESS_GPIO_WLAN_POWER GPIO_PP3300_DX_WLAN
+#define WIRELESS_GPIO_WWAN GPIO_PP3300_DX_LTE
/* EC console commands */
#define CONFIG_CMD_ACCELS
diff --git a/board/poppy/gpio.inc b/board/poppy/gpio.inc
index 01cb09b7cb..673a3a66af 100644
--- a/board/poppy/gpio.inc
+++ b/board/poppy/gpio.inc
@@ -66,7 +66,7 @@ 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)
+GPIO(PP3300_DX_LTE, PIN(0, 5), GPIO_OUT_LOW)
GPIO(LTE_GPS_OFF_L, PIN(0, 0), GPIO_OUTPUT)
GPIO(LTE_BODY_SAR_L, PIN(0, 1), GPIO_OUTPUT)
GPIO(LTE_WAKE_L, PIN(7, 1), GPIO_INPUT)