UPSTREAM: google/snappy: Add weida touchscreen support
Add weida touchscreen as 2nd touchscreen source
BUG=chrome-os-partner:61865
BRANCH=reef
TEST=emerge-snappy coreboot, and verified that touchscreen works on
snappy.
Change-Id: Id2c7aad2e5dd0470e8d93cdd44330fa21d30acc0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 26949e65af
Original-Change-Id: If76312a62e97da9d5de18ad895e90ee6b0f0c6ae
Original-Signed-off-by: Wisley Chen <wisley.chen@quantatw.com>
Original-Reviewed-on: https://review.coreboot.org/18166
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/430613
Commit-Ready: Aaron Durbin <adurbin@chromium.org>
Tested-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
88101efe95
commit
360ff4311f
2 changed files with 13 additions and 0 deletions
|
|
@ -44,6 +44,9 @@ config DRIVERS_I2C_DA7219
|
|||
config DRIVERS_I2C_GENERIC
|
||||
default y
|
||||
|
||||
config DRIVERS_I2C_HID
|
||||
default y
|
||||
|
||||
config DRIVERS_I2C_WACOM
|
||||
default y
|
||||
|
||||
|
|
|
|||
|
|
@ -187,6 +187,16 @@ chip soc/intel/apollolake
|
|||
|
||||
device i2c 10 on end
|
||||
end
|
||||
chip drivers/i2c/hid
|
||||
register "generic.hid" = ""WDHT0001""
|
||||
register "generic.desc" = ""WDT Touchscreen""
|
||||
register "generic.irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)"
|
||||
register "generic.probed" = "1"
|
||||
register "generic.pwr_mgmt_type" = "GPIO_EXPORT"
|
||||
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36)"
|
||||
register "hid_desc_reg_offset" = "0x20"
|
||||
device i2c 2c on end
|
||||
end
|
||||
end # - I2C 3
|
||||
device pci 17.0 on
|
||||
chip drivers/i2c/generic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue