summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/adlrvp/gpio_m.c
diff options
context:
space:
mode:
authorBernardo Perez Priego <bernardo.perez.priego@intel.com>2021-07-12 18:40:22 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-08-28 01:24:35 +0000
commit4b53474d2396a46c44e0627363777a2baf11e713 (patch)
tree61314224e979cc76d149933e0526fc10b24ac760 /src/mainboard/intel/adlrvp/gpio_m.c
parentc375feecc5c4b328dad54a94d1143d6d019cfde0 (diff)
mb/intel/adlrvp_m: Enable touchscreen
This will add ACPI information to enable WACOM touchscreen. TEST=Boot DUT and issue command: $ ls -al /sys/bus/i2c/devices WACOM PWB-D893 device should be listed and touchscreen should be functional. Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com> Change-Id: I37c0831485135fda3284dda6b61f4825b7fc51a3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56247 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Diffstat (limited to 'src/mainboard/intel/adlrvp/gpio_m.c')
-rw-r--r--src/mainboard/intel/adlrvp/gpio_m.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/intel/adlrvp/gpio_m.c b/src/mainboard/intel/adlrvp/gpio_m.c
index 11686be203..f6230cff3e 100644
--- a/src/mainboard/intel/adlrvp/gpio_m.c
+++ b/src/mainboard/intel/adlrvp/gpio_m.c
@@ -160,6 +160,13 @@ static const struct pad_config gpio_table[] = {
/* S7 : SNDW4_DATA */
PAD_CFG_NF(GPP_S7, NONE, DEEP, NF2),
+
+ /* F7 : TCH_PNL_PWR_EN */
+ PAD_CFG_GPO(GPP_F7, 1, PLTRST),
+ /* F17 : RST_N_TCH_PNL2 */
+ PAD_CFG_GPO(GPP_F17, 1, PLTRST),
+ /* F18 : INT_N_TCH_PNL2 */
+ PAD_CFG_GPI_APIC(GPP_F18, NONE, PLTRST, LEVEL, NONE)
};
void variant_configure_gpio_pads(void)