mb/google/octopus: support new Elan touch panel for Foob

This is new elan touch screen IC, which includes touch panel and USI pen.

BUG=b:149800883
BRANCH=octopus
TEST=build bios and verify touch screen works fine

Signed-off-by: Tommie Lin <tong.lin@bitland.corp-partner.google.com>
Change-Id: Ibec3d08cc740e398a10a5c845181318724afc70a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38823
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Henry Sun <henrysun@google.com>
Reviewed-by: Marco Chen <marcochen@google.com>
This commit is contained in:
Tommie 2020-02-11 12:53:34 +08:00 committed by Patrick Georgi
parent c0380a24e8
commit a1d7db8215
1 changed files with 11 additions and 10 deletions

View File

@ -134,16 +134,17 @@ chip soc/intel/apollolake
end end
end # - I2C 6 end # - I2C 6
device pci 17.3 on device pci 17.3 on
chip drivers/i2c/generic chip drivers/i2c/hid
register "hid" = ""ELAN0001"" register "generic.hid" = ""ELAN90FC""
register "desc" = ""ELAN Touchscreen"" register "generic.desc" = ""ELAN Touchscreen""
register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_212_IRQ)" register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPIO_212_IRQ)"
register "probed" = "1" register "generic.probed" = "1"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)" register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
register "reset_delay_ms" = "20" register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)" register "generic.reset_delay_ms" = "20"
register "enable_delay_ms" = "1" register "generic.has_power_resource" = "1"
register "has_power_resource" = "1" register "generic.disable_gpio_export_in_crs" = "1"
register "hid_desc_reg_offset" = "0x01"
device i2c 10 on end device i2c 10 on end
end end
chip drivers/i2c/hid chip drivers/i2c/hid