mb/google/dedede: Enable SIS touchscreen for Waddledoo
Add SiS9813 USI touchscreen support. BUG=b:152936541 TEST="emerge-dedede coreboot chromeos-bootimage", build successful. Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Change-Id: Id04c46c763fdf68418bf2e97be4c8bb6bb73c749 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40250 Reviewed-by: Marco Chen <marcochen@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
53e82f67ea
commit
3fe5f2cfa4
|
@ -29,7 +29,7 @@ static const struct pad_config gpio_table[] = {
|
||||||
/* A10 : WWAN_EN */
|
/* A10 : WWAN_EN */
|
||||||
PAD_NC(GPP_A10, NONE),
|
PAD_NC(GPP_A10, NONE),
|
||||||
/* A11 : TOUCH_RPT_EN */
|
/* A11 : TOUCH_RPT_EN */
|
||||||
PAD_NC(GPP_A11, NONE),
|
PAD_CFG_GPO(GPP_A11, 0, DEEP),
|
||||||
/* A12 : USB_OC1_N */
|
/* A12 : USB_OC1_N */
|
||||||
PAD_NC(GPP_A12, NONE),
|
PAD_NC(GPP_A12, NONE),
|
||||||
/* A13 : USB_OC2_N */
|
/* A13 : USB_OC2_N */
|
||||||
|
@ -154,11 +154,11 @@ static const struct pad_config gpio_table[] = {
|
||||||
/* D3 : WLAN_PCIE_WAKE_ODL */
|
/* D3 : WLAN_PCIE_WAKE_ODL */
|
||||||
PAD_CFG_GPI_SCI_LOW(GPP_D3, NONE, DEEP, EDGE_SINGLE),
|
PAD_CFG_GPI_SCI_LOW(GPP_D3, NONE, DEEP, EDGE_SINGLE),
|
||||||
/* D4 : TOUCH_INT_ODL */
|
/* D4 : TOUCH_INT_ODL */
|
||||||
PAD_NC(GPP_D4, NONE),
|
PAD_CFG_GPI_APIC(GPP_D4, NONE, PLTRST, LEVEL, INVERT),
|
||||||
/* D5 : TOUCH_RESET_L */
|
/* D5 : TOUCH_RESET_L */
|
||||||
PAD_NC(GPP_D5, NONE),
|
PAD_CFG_GPO(GPP_D5, 0, DEEP),
|
||||||
/* D6 : EN_PP3300_TOUCH_S0 */
|
/* D6 : EN_PP3300_TOUCH_S0 */
|
||||||
PAD_NC(GPP_D6, NONE),
|
PAD_CFG_GPO(GPP_D6, 0, DEEP),
|
||||||
/* D7 : EMR_INT_ODL */
|
/* D7 : EMR_INT_ODL */
|
||||||
PAD_NC(GPP_D7, NONE),
|
PAD_NC(GPP_D7, NONE),
|
||||||
/* D8 : GPP_D8/GSPI2_CS0B/UART0A_RXD */
|
/* D8 : GPP_D8/GSPI2_CS0B/UART0A_RXD */
|
||||||
|
|
|
@ -55,6 +55,25 @@ chip soc/intel/jasperlake
|
||||||
device i2c 15 on end
|
device i2c 15 on end
|
||||||
end
|
end
|
||||||
end #I2C 0
|
end #I2C 0
|
||||||
|
device pci 15.2 on
|
||||||
|
chip drivers/i2c/hid
|
||||||
|
register "generic.hid" = ""SIS6496""
|
||||||
|
register "generic.desc" = ""SIS Touchscreen""
|
||||||
|
register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_D4_IRQ)"
|
||||||
|
register "generic.probed" = "1"
|
||||||
|
register "generic.reset_gpio" =
|
||||||
|
"ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
|
||||||
|
register "generic.reset_delay_ms" = "100"
|
||||||
|
register "generic.stop_gpio" =
|
||||||
|
"ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
|
||||||
|
register "generic.enable_gpio" =
|
||||||
|
"ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
|
||||||
|
register "generic.enable_delay_ms" = "7"
|
||||||
|
register "generic.has_power_resource" = "1"
|
||||||
|
register "hid_desc_reg_offset" = "0x00"
|
||||||
|
device i2c 5c on end
|
||||||
|
end
|
||||||
|
end # I2C 2
|
||||||
device pci 1c.7 on
|
device pci 1c.7 on
|
||||||
chip drivers/intel/wifi
|
chip drivers/intel/wifi
|
||||||
register "wake" = "GPE0_DW2_03"
|
register "wake" = "GPE0_DW2_03"
|
||||||
|
|
Loading…
Reference in New Issue