mb/google/fatcat/var/fatcat: Change touchpad interrupt to edge trigger

This change modifies the touchpad interrupt configuration to use
edge-triggered interrupts instead of level-triggered interrupts.

This is necessary to ensure that the touchpad interrupt is properly
detected by the AP w/o seeing interrupt flood.

BUG=b:376019577
TEST=Verified that the touchpad works smoothly with this change.

Change-Id: Ida0dfe10963a979c5e977133149d97799a76e3b3
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85802
Reviewed-by: Pranava Y N <pranavayn@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2024-12-30 14:17:47 +05:30
commit e18f0f53cb

View file

@ -440,7 +440,7 @@ static const struct pad_config touchpad_lpss_i2c_enable_pads[] = {
/* GPP_F13: THC_I2C1_SDA_TCH_PAD */
PAD_CFG_NF(GPP_F13, NONE, DEEP, NF8),
/* GPP_A13: TCH_PAD_INT_N */
PAD_CFG_GPI_IRQ_WAKE(GPP_A13, NONE, PWROK, LEVEL, INVERT),
PAD_CFG_GPI_IRQ_WAKE(GPP_A13, NONE, PWROK, EDGE_SINGLE, INVERT),
};
static const struct pad_config touchpad_i2c_disable_pads[] = {