From 05577fc186cccf4852c479a09b9b790f5cf928db Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 4 Jun 2020 11:27:04 -0600 Subject: [PATCH] Revert "whl-u: remove invalid i2c_hid interrupt" This reverts commit 09b8f28bb0ba6a54149df1f22dffbfe41226c2b2. --- src/mainboard/system76/whl-u/devicetree.cb | 1 + src/mainboard/system76/whl-u/gpio.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mainboard/system76/whl-u/devicetree.cb b/src/mainboard/system76/whl-u/devicetree.cb index 15722097f5..78f0d79ab9 100644 --- a/src/mainboard/system76/whl-u/devicetree.cb +++ b/src/mainboard/system76/whl-u/devicetree.cb @@ -222,6 +222,7 @@ chip soc/intel/cannonlake chip drivers/i2c/hid register "generic.hid" = ""PNP0C50"" register "generic.desc" = ""Synaptics Touchpad"" + register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)" register "generic.probed" = "1" register "hid_desc_reg_offset" = "0x20" device i2c 2c on end diff --git a/src/mainboard/system76/whl-u/gpio.h b/src/mainboard/system76/whl-u/gpio.h index dc68bffbac..68b5d73b40 100644 --- a/src/mainboard/system76/whl-u/gpio.h +++ b/src/mainboard/system76/whl-u/gpio.h @@ -250,8 +250,8 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1), // NC PAD_CFG_NC(GPP_C22), - // NC - PAD_CFG_NC(GPP_C23), + // TP_ATTN# + PAD_CFG_GPI_APIC(GPP_C23, NONE, PLTRST, EDGE_SINGLE, INVERT), // GPP_D // SPI1