mb/google/brya/var/uldrenite/gpio: Enable ISH sensor interrupts

Enable the interrupts coming from the sensors into the ISH.

BUG=b:410645679

Change-Id: I2acaed1900e248cfe7fcc81201c6991a9741f26c
Signed-off-by: Yuval Peress <peress@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87333
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Yuval Peress 2025-04-16 03:52:42 +00:00 committed by Matt DeVillier
commit 051fdff0e8
2 changed files with 8 additions and 4 deletions

View file

@ -119,8 +119,8 @@ static const struct pad_config gpio_table[] = {
/* D0 : ISH_GP0 ==> UCAM_FW_PROTECT */
PAD_CFG_GPO(GPP_D0, 1, DEEP),
/* D1 : ISH_GP1 ==> NC */
PAD_NC(GPP_D1, NONE),
/* D1 : ISH_GP1 ==> SOC_GSEN2_INT# */
PAD_CFG_NF(GPP_D1, NONE, DEEP, NF1),
/* D2 : ISH_GP2 ==> TOUCH_SCREEN_DET# */
PAD_CFG_GPO_LOCK(GPP_D2, 1, LOCK_CONFIG),
/* D3 : NC ==> PHY_SHUTTER_DET */
@ -176,8 +176,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_E7, NONE),
/* E8 : GPP_E8 ==> WLAN_DISABLE_L */
PAD_CFG_GPO(GPP_E8, 1, DEEP),
/* E9 : NC */
PAD_NC_LOCK(GPP_E9, NONE, LOCK_CONFIG),
/* E9 : GPP_E9 ==> SOC_ACC2_INT# */
PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1),
/* E10 : NC */
PAD_NC_LOCK(GPP_E10, NONE, LOCK_CONFIG),
/* E11 : NC */

View file

@ -45,6 +45,10 @@ static const struct pad_config ish_disable_pads[] = {
PAD_NC(GPP_B5, NONE),
/* B6 : GPP_B6 ==> NC */
PAD_NC(GPP_B6, NONE),
/* D1 : ISH_GP1 ==> NC */
PAD_NC(GPP_D1, NONE),
/* E9 : SOC_ACC2_INT ==> NC */
PAD_NC_LOCK(GPP_E9, NONE, LOCK_CONFIG),
};
void fw_config_gpio_padbased_override(struct pad_config *padbased_table)