mb/google/nissa/var/craask: Add ILTK touchscreen

Add touchscreen ILTK for craaskwell.
Refer to ILI2901A-A200 Data Sheet_V1.1_20231026.

BUG=b:308873706
TEST=build and check touchscreen function on craask

Change-Id: I6a68855b1659ff0c9cd33a0ec9acbd289f525a3d
Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79735
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
This commit is contained in:
Ren Kuo 2023-12-27 20:18:30 +08:00 committed by Felix Held
parent d9dfd1f2fe
commit de30b4b3f6
1 changed files with 18 additions and 0 deletions

View File

@ -37,6 +37,7 @@ fw_config
field TS_SOURCE 38 41 field TS_SOURCE 38 41
option TS_UNPROVISIONED 0 option TS_UNPROVISIONED 0
option TS_GTCH7503 1 option TS_GTCH7503 1
option TS_ILTK0001 2
end end
end end
@ -390,6 +391,23 @@ chip soc/intel/alderlake
probe TS_SOURCE TS_UNPROVISIONED probe TS_SOURCE TS_UNPROVISIONED
end end
end end
chip drivers/i2c/hid
register "generic.hid" = ""ILTK0001""
register "generic.desc" = ""ILITEK Touchscreen""
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
register "generic.detect" = "1"
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
register "generic.reset_delay_ms" = "200"
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
register "generic.enable_delay_ms" = "12"
register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
register "generic.stop_off_delay_ms" = "200"
register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01"
device i2c 41 on
probe TS_SOURCE TS_ILTK0001
end
end
end end
device ref i2c2 on device ref i2c2 on
chip drivers/intel/mipi_camera chip drivers/intel/mipi_camera