From 2f7c7e8a77e1e6e46366a294f3ab2cf2c0755652 Mon Sep 17 00:00:00 2001 From: Wentao Qin Date: Tue, 11 Jul 2023 16:23:55 +0800 Subject: mb/google/rex/var/screebo: 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=b:286803481 TEST=Make screebo suspend to s0ix state and press a key from bluetooth keyboard. Check the platform wakes up properly from s0ix. Change-Id: I7fd342e52fa0f9126eab4c857a5adc04c26e49c6 Signed-off-by: Wentao Qin Reviewed-on: https://review.coreboot.org/c/coreboot/+/76406 Reviewed-by: Kapil Porwal Reviewed-by: Jamie Ryu Reviewed-by: Subrata Banik Reviewed-by: Kun Liu Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/variants/screebo/gpio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mainboard/google/rex/variants/screebo') diff --git a/src/mainboard/google/rex/variants/screebo/gpio.c b/src/mainboard/google/rex/variants/screebo/gpio.c index 3fb71fb33f..54c4f37ea2 100644 --- a/src/mainboard/google/rex/variants/screebo/gpio.c +++ b/src/mainboard/google/rex/variants/screebo/gpio.c @@ -234,17 +234,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 : net NC is not present in the given design */ PAD_NC(GPP_F06, NONE), /* GPP_F07 : [] ==> UCAM_MCLK_R */ -- cgit v1.2.3