mb/google/fatcat/var/lapis: add ILITEK touchscreen support
This chang adds the necessary configuration for ILITEK touchscreen (ILIT2901) device. The relevant parameters are from the manufacturer's email dated October 13th. Furthermore, adding fw_config THC_ILITEK ensures that the touch functionality of both touchscreens is normal. BUG=b:455442712 TEST=emerge-fatcat coreboot and chromeos-bootimage, flash to DUT, ilitek touchscreen can be found by `getevent`, and no wake-up functionality when the DUT is in sleep mode. Change-Id: I7611c7b1e1364e48ae87a0d91ad3106130ccc586 Signed-off-by: Hualin Wei <weihualin@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89756 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
b933a554ba
commit
9210f2fd1c
1 changed files with 19 additions and 0 deletions
|
|
@ -458,6 +458,25 @@ chip soc/intel/pantherlake
|
|||
probe TOUCHSCREEN THC_RAYDIMU
|
||||
end
|
||||
end
|
||||
chip drivers/intel/touch
|
||||
register "name" = "INTEL_THC1_NAME"
|
||||
register "mode" = "THC_HID_I2C_MODE"
|
||||
register "dev_hidi2c.hid" = ""ILIT2901""
|
||||
register "dev_hidi2c.cid" = ""PNP0C50""
|
||||
register "dev_hidi2c.intf.hidi2c.addr" = "0x41"
|
||||
register "dev_hidi2c.intf.hidi2c.descriptor_address" = "0x0001"
|
||||
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_F08)"
|
||||
register "wake_on_touch" = "true"
|
||||
# NOTE: Use GpioInt() in _CRS and does not use GPE.
|
||||
register "wake_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPP_VGPIO3_THC1)"
|
||||
register "active_ltr" = "1"
|
||||
register "idle_ltr" = "0"
|
||||
register "connected_device" = "TH_SENSOR_GENERIC"
|
||||
register "add_acpi_dma_property" = "true"
|
||||
device generic 0 on
|
||||
probe TOUCHSCREEN THC_ILITEK
|
||||
end
|
||||
end
|
||||
end #Touchpenal
|
||||
|
||||
device ref hda on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue