mb/google/octopus/var/fleex: Add goodix touch pad support

Add goodix touch pad as below:
HWID : GXTP7288
CID : PNP0C50
I2C address : 0x2C
I2C speed : 400Khz
HID Descriptor Address : 0x20

BUG=b:171351666
BRANCH=octopus
TEST=build image and verify goodix touch pad working.

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Idb4f8d3aff09712dcc98c8ae0c9ae30dc4049e29
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46614
Reviewed-by: Marco Chen <marcochen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Eric Lai 2020-10-21 11:53:22 +08:00 committed by Patrick Georgi
parent 90f01ece00
commit 6c02ca6962
1 changed files with 9 additions and 0 deletions

View File

@ -128,6 +128,15 @@ chip soc/intel/apollolake
register "probed" = "1"
device i2c 15 on end
end
chip drivers/i2c/hid
register "generic.hid" = ""GXTP7288""
register "generic.desc" = ""Goodix Touchpad""
register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPIO_135_IRQ)"
register "generic.wake" = "GPE0_DW3_27"
register "generic.probed" = "1"
register "hid_desc_reg_offset" = "0x20"
device i2c 2c on end
end
end # - I2C 6
device pci 17.3 on
chip drivers/i2c/generic