aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex/variants/screebo/gpio.c
diff options
context:
space:
mode:
authorWentao Qin <qinwentao@huaqin.corp-partner.google.com>2023-07-11 16:23:55 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-07-13 16:38:13 +0000
commit2f7c7e8a77e1e6e46366a294f3ab2cf2c0755652 (patch)
tree0a3d649deb855634e2be84e2dc817319d704ac25 /src/mainboard/google/rex/variants/screebo/gpio.c
parentd19ebe0bd5c05badc7b800eab625559a8ac7d2f0 (diff)
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 <qinwentao@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76406 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kun Liu <liukun11@huaqin.corp-partner.google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rex/variants/screebo/gpio.c')
-rw-r--r--src/mainboard/google/rex/variants/screebo/gpio.c12
1 files changed, 6 insertions, 6 deletions
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 */