summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/variants/xol/gpio.c7
-rw-r--r--src/mainboard/google/brya/variants/xol/overridetree.cb7
2 files changed, 12 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/xol/gpio.c b/src/mainboard/google/brya/variants/xol/gpio.c
index 39478a1489..9e497849c6 100644
--- a/src/mainboard/google/brya/variants/xol/gpio.c
+++ b/src/mainboard/google/brya/variants/xol/gpio.c
@@ -119,6 +119,13 @@ static const struct pad_config gpio_overrides[] = {
PAD_NC(GPP_F12, NONE),
/* F13 : GSXDOUT ==> NC */
PAD_NC(GPP_F13, NONE),
+ /* F14 : GSXDIN ==> TCHPAD_INT_ODL */
+ /*
+ * FIXME: Change back the interrupt type to IRQxAPIC if possible after investigating
+ * the reason why Xol shows touchpad stuttering issue with IRQxAPIC
+ * configuration but not GPI_INT.
+ */
+ PAD_CFG_GPI_INT(GPP_F14, NONE, PWROK, LEVEL),
/* F15 : GSXSRESET# ==> PU 100K 3.3V */
PAD_CFG_GPI(GPP_F15, NONE, DEEP),
/* F16 : GSXCLK ==> NC */
diff --git a/src/mainboard/google/brya/variants/xol/overridetree.cb b/src/mainboard/google/brya/variants/xol/overridetree.cb
index d73702c4bb..5de8c73260 100644
--- a/src/mainboard/google/brya/variants/xol/overridetree.cb
+++ b/src/mainboard/google/brya/variants/xol/overridetree.cb
@@ -343,8 +343,11 @@ chip soc/intel/alderlake
chip drivers/i2c/hid
register "generic.hid" = ""ZNT0000""
register "generic.desc" = ""Zinitix Touchpad""
- register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
- register "generic.wake" = "GPE0_DW2_14"
+ # FIXME: Change back the interrupt type to IRQxAPIC if possible
+ # after investigating the reason why Xol shows touchpad
+ # stuttering issue with IRQxAPIC configuration but not
+ # GPI_INT.
+ register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPP_F14)"
register "generic.detect" = "1"
register "hid_desc_reg_offset" = "0xE"
device i2c 40 on end