mb/starlabs/starlite_adl: Reconfigure the touchscreen
The existing GPIO configuration was IRQ heavy; tweak this to reduce the number of interrupts. Change-Id: I6d23bea5ec12e86a3606186edb29636540283fa3 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84639 Reviewed-by: Maxim <max.senia.poliak@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
2943a74335
commit
fea5bcf6ce
2 changed files with 5 additions and 3 deletions
|
|
@ -141,8 +141,10 @@ chip soc/intel/alderlake
|
|||
register "generic.hid" = ""GXTP7386""
|
||||
register "generic.cid" = ""GXTP7386""
|
||||
register "generic.desc" = ""Touchscreen""
|
||||
register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_F18)"
|
||||
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F18_IRQ)"
|
||||
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F17)"
|
||||
register "generic.reset_delay_ms" = "10"
|
||||
register "generic.has_power_resource" = "1"
|
||||
register "hid_desc_reg_offset" = "0x01"
|
||||
device i2c 5d on end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -323,9 +323,9 @@ const struct pad_config gpio_table[] = {
|
|||
/* F16: Not Connected */
|
||||
PAD_NC(GPP_F16, NONE),
|
||||
/* F17: Touch Panel Reset */
|
||||
PAD_CFG_GPO(GPP_F17, 1, PLTRST),
|
||||
PAD_CFG_GPO(GPP_F17, 1, DEEP),
|
||||
/* F18: Touch Panel Interrupt */
|
||||
PAD_CFG_GPI_GPIO_DRIVER(GPP_F18, NONE, DEEP),
|
||||
PAD_CFG_GPI_APIC(GPP_F18, NONE, PLTRST, LEVEL, INVERT),
|
||||
/* F19: Not Connected */
|
||||
PAD_NC(GPP_F19, NONE),
|
||||
/* F20: Not Connected */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue