diff options
author | Ren Kuo <ren.kuo@quanta.corp-partner.google.com> | 2023-12-27 20:18:30 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-31 18:11:38 +0000 |
commit | de30b4b3f6caa4d0d552ef18f169672a56ab8121 (patch) | |
tree | 863e0146b5de94611c099c68f9af06eb61a82c0e /src/mainboard/google | |
parent | d9dfd1f2fe2fe0ca57a16be3fa03435d584f7f1e (diff) |
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/brya/variants/craask/overridetree.cb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/craask/overridetree.cb b/src/mainboard/google/brya/variants/craask/overridetree.cb index 9fff00f118..afc35193e4 100644 --- a/src/mainboard/google/brya/variants/craask/overridetree.cb +++ b/src/mainboard/google/brya/variants/craask/overridetree.cb @@ -37,6 +37,7 @@ fw_config field TS_SOURCE 38 41 option TS_UNPROVISIONED 0 option TS_GTCH7503 1 + option TS_ILTK0001 2 end end @@ -390,6 +391,23 @@ chip soc/intel/alderlake probe TS_SOURCE TS_UNPROVISIONED 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 device ref i2c2 on chip drivers/intel/mipi_camera |