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@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63987 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4414 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
7b4c4325e9
commit
7ad61f6262
|
@ -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…
Reference in New Issue