mb/google/rex: Update ISH GPIO's configuration

Configures ISH related GPIO's based on FW_CONFIG obtained from CBI.

BUG=b:280329972,b:283023296
TEST= Set bit 21 of FW_CONFIG with CBI
      Boot rex board
      Check that ISH is enabled, loaded, and functional

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
Change-Id: I778251aadef4499427fc9855adfdd9cade3a3e70
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77235
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Bernardo Perez Priego 2023-08-15 17:45:50 -07:00 committed by Matt DeVillier
parent 99a8287f08
commit 5f15e37bcd
1 changed files with 6 additions and 0 deletions

View File

@ -85,8 +85,14 @@ static const struct pad_config ish_enable_pads[] = {
PAD_CFG_NF(GPP_B08, NONE, DEEP, NF4),
/* GPP_E15 : ISH_GP5A, SOC_ISH_IMU_INT_L */
PAD_CFG_NF(GPP_E15, NONE, DEEP, NF8),
/* GPP_E16 : ISH_GP10, SOC_EC_ISH_NB_MODE */
PAD_CFG_NF(GPP_E16, NONE, DEEP, NF8),
/* GPP_F22 : ISH_GP8A, SOC_ISH_ALS_INT_L */
PAD_CFG_NF(GPP_F22, NONE, DEEP, NF8),
/* GPP_F23 : ISH_GP9A, LID_OPEN_1V8 */
PAD_CFG_NF(GPP_F23, NONE, DEEP, NF8),
/* GPP_H11 : ISH_GP11A, SOC_ISH_IMU_INT_L */
PAD_CFG_NF(GPP_H11, NONE, DEEP, NF8),
};
static const struct pad_config touchscreen_i2c_int_pads[] = {