diff --git a/src/mainboard/intel/adlrvp/devicetree_m.cb b/src/mainboard/intel/adlrvp/devicetree_m.cb index 65a6cac1c4..1842b74498 100644 --- a/src/mainboard/intel/adlrvp/devicetree_m.cb +++ b/src/mainboard/intel/adlrvp/devicetree_m.cb @@ -268,8 +268,21 @@ chip soc/intel/alderlake probe AUDIO ADL_MAX98373_ALC5682I_I2S end end + chip drivers/i2c/hid + register "generic.hid" = ""WACOM PWB-D893"" + register "generic.desc" = ""WACOM Touchscreen"" + register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F18_IRQ)" + register "generic.probed" = "1" + register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F17)" + register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_F7)" + register "generic.enable_delay_ms" = "1" + register "generic.reset_delay_ms" = "300" + register "generic.has_power_resource" = "1" + register "generic.disable_gpio_export_in_crs" = "1" + register "hid_desc_reg_offset" = "0x01" + device i2c 0a on end + end end - device ref i2c1 on chip drivers/intel/mipi_camera register "acpi_hid" = ""OVTI5675"" 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)