From 382645d2379a624d78d1b398433a6cceedc72a88 Mon Sep 17 00:00:00 2001 From: Jamie Ryu Date: Wed, 5 Jul 2023 20:33:07 -0700 Subject: mb/google/rex/var/rex0: Configure CNVi GPIO IO Standby State This configures GPIO IO Standby State of GPP_F00 - GPP_F05 as masked for CNVi. Meteor Lake rex platform does not wake up from low power state by bluetooth keyboard and mouse properly. It is identified that IO Standby State needs to be configured as masked to function properly for CNVi. BUG=None TEST=Make rex platform suspend to s0ix state and press a key from bluetooth keyboard. Check the platform wakes up properly from s0ix. Change-Id: Ia98abde584699fa01acba47a9df4ef6332ac16fd Signed-off-by: Jamie Ryu Reviewed-on: https://review.coreboot.org/c/coreboot/+/76338 Reviewed-by: Eric Lai Reviewed-by: Subrata Banik Reviewed-by: Sukumar Ghorai Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/variants/rex0/gpio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mainboard/google/rex/variants/rex0/gpio.c') diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c index b4ae75693b68..f3c7324c9dd5 100644 --- a/src/mainboard/google/rex/variants/rex0/gpio.c +++ b/src/mainboard/google/rex/variants/rex0/gpio.c @@ -236,17 +236,17 @@ static const struct pad_config gpio_table[] = { PAD_CFG_GPO(GPP_E22, 1, DEEP), /* GPP_F00 : [] ==> CNV_BRI_DT_R */ - PAD_CFG_NF(GPP_F00, NONE, DEEP, NF1), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_F00, NONE, DEEP, NF1), /* GPP_F01 : [] ==> CNV_BRI_RSP */ - PAD_CFG_NF(GPP_F01, UP_20K, DEEP, NF1), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_F01, UP_20K, DEEP, NF1), /* GPP_F02 : [] ==> CNV_RGI_DT_Rl */ - PAD_CFG_NF(GPP_F02, NONE, DEEP, NF1), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_F02, NONE, DEEP, NF1), /* GPP_F03 : [] ==> CNV_RGI_RSP */ - PAD_CFG_NF(GPP_F03, UP_20K, DEEP, NF1), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_F03, UP_20K, DEEP, NF1), /* GPP_F04 : [] ==> CNV_RF_RST_L */ - PAD_CFG_NF(GPP_F04, NONE, DEEP, NF1), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_F04, NONE, DEEP, NF1), /* GPP_F05 : [] ==> CNV_CLKREQ */ - PAD_CFG_NF(GPP_F05, NONE, DEEP, NF3), + PAD_CFG_NF_IOSTANDBY_IGNORE(GPP_F05, NONE, DEEP, NF3), /* GPP_F06 : [] ==> WWAN_WLAN_COEX3 */ PAD_CFG_NF(GPP_F06, NONE, DEEP, NF1), /* GPP_F07 : [] ==> UCAM_MCLK_R */ -- cgit v1.2.3