Yunlong Jia has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81610?usp=email )
Change subject: mb/google/nissa/var/gothrax: Add touchscreen driver for ILI2901A-A210 ......................................................................
mb/google/nissa/var/gothrax: Add touchscreen driver for ILI2901A-A210
I2C slave addresses 0x41.
BUG=b:332458912 BRANCH=None TEST=emerge-nissa coreboot
Change-Id: I2d26bfd4f415aa128b6256f83bc58987b15a557a --- M src/mainboard/google/brya/variants/gothrax/overridetree.cb 1 file changed, 18 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/81610/1
diff --git a/src/mainboard/google/brya/variants/gothrax/overridetree.cb b/src/mainboard/google/brya/variants/gothrax/overridetree.cb index 77be31c..f534851 100644 --- a/src/mainboard/google/brya/variants/gothrax/overridetree.cb +++ b/src/mainboard/google/brya/variants/gothrax/overridetree.cb @@ -234,6 +234,24 @@ probe TOUCH_PANEL TOUCH_PANEL_ENABLE end end + chip drivers/i2c/hid + register "generic.hid" = ""ILI2901"" + register "generic.desc" = ""ILI 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" = "300" + register "generic.reset_off_delay_ms" = "2" + register "generic.enable_gpio" = + "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" + register "generic.enable_delay_ms" = "6" + register "generic.has_power_resource" = "1" + register "hid_desc_reg_offset" = "0x01" + device i2c 0x41 on + probe TOUCH_PANEL TOUCH_PANEL_ENABLE + end + end end device ref i2c2 on chip drivers/i2c/sx9324