[coreboot-gerrit] Patch set updated for coreboot: 6f7de64 falco: Drive GPIO59/LTE_DISABLE_L low on S3/S5
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Fri Dec 20 23:31:47 CET 2013
Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4414
-gerrit
commit 6f7de64c8a06f920a980eebd275f019f635e00c2
Author: Duncan Laurie <dlaurie at chromium.org>
Date: Wed Jul 31 14:08:59 2013 -0700
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 <dlaurie at chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63987
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
---
src/mainboard/google/falco/smihandler.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mainboard/google/falco/smihandler.c b/src/mainboard/google/falco/smihandler.c
index 52dd776..ee56987 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;
}
More information about the coreboot-gerrit
mailing list