From 7ad61f6262c3056232c414ed9482b7d6f8719948 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 31 Jul 2013 14:08:59 -0700 Subject: falco: Drive GPIO59/LTE_DISABLE_L low on S3/S5 Try to prevent WWAN from causing spurious wakes. Change-Id: Ifcc44063de0eb1634cab9dd244737071568e3455 Signed-off-by: Duncan Laurie Reviewed-on: https://gerrit.chromium.org/gerrit/63987 Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/4414 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/google/falco/smihandler.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/falco/smihandler.c') diff --git a/src/mainboard/google/falco/smihandler.c b/src/mainboard/google/falco/smihandler.c index 52dd77654a..ee56987d02 100644 --- a/src/mainboard/google/falco/smihandler.c +++ b/src/mainboard/google/falco/smihandler.c @@ -34,6 +34,7 @@ /* GPIO46 controls the WLAN_DISABLE_L signal. */ #define GPIO_WLAN_DISABLE_L 46 +#define GPIO_LTE_DISABLE_L 59 int mainboard_io_trap_handler(int smif) { @@ -104,6 +105,8 @@ void mainboard_smi_sleep(u8 slp_typ) /* Prevent leak from standby rail to WLAN rail in S3. */ set_gpio(GPIO_WLAN_DISABLE_L, 0); + /* Disable LTE */ + set_gpio(GPIO_LTE_DISABLE_L, 0); break; case 5: if (smm_get_gnvs()->s5u0 == 0) @@ -115,6 +118,8 @@ void mainboard_smi_sleep(u8 slp_typ) /* Prevent leak from standby rail to WLAN rail in S5. */ set_gpio(GPIO_WLAN_DISABLE_L, 0); + /* Disable LTE */ + set_gpio(GPIO_LTE_DISABLE_L, 0); break; } -- cgit v1.2.3