falco: Drive GPIO59/LTE_DISABLE_L low on S3/S5
Try to prevent WWAN from causing spurious wakes. BUG=chrome-os-partner:20832 BRANCH=falco TEST=emerge-falco chromeos-coreboot-falco Change-Id: Ifcc44063de0eb1634cab9dd244737071568e3455 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63987 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
52ce8a9a3d
commit
a3d4e65f58
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue