mb/google/poppy/variants/nami: Enable synaptics touchscreen support

BUG=b:74595040
BRANCH=master
TEST=
1. emerge-nami coreboot chromeos-bootimage
2. Booted on Pantheon with S7817 PCBa connected
3. Check touchscreen device is enabled by evtest
/dev/input/event4: SYTS7817:00 06CB:7817

Change-Id: Ic11684d5ed961af5eb704909f7d06eb0898068c2
Signed-off-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/25915
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Ivy Jian 2018-04-30 11:38:00 +08:00 committed by Patrick Georgi
parent c6d134988c
commit aeb50d20c7
1 changed files with 12 additions and 0 deletions

View File

@ -266,6 +266,18 @@ chip soc/intel/skylake
register "stop_off_delay_ms" = "2" register "stop_off_delay_ms" = "2"
device i2c 10 on end device i2c 10 on end
end end
chip drivers/i2c/hid
register "generic.hid" = ""SYTS7817""
register "generic.desc" = ""Synaptics Touchscreen""
register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)"
register "generic.probed" = "1"
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B4)"
register "generic.enable_delay_ms" = "45"
register "generic.has_power_resource" = "1"
register "generic.disable_gpio_export_in_crs" = "1"
register "hid_desc_reg_offset" = "0x20"
device i2c 20 on end
end
end # I2C #0 end # I2C #0
device pci 15.1 on device pci 15.1 on
chip drivers/i2c/generic chip drivers/i2c/generic