google/snappy: Add MELFAS touch screen support

Current coreboot does not create ACPI device for OS to recognize MELFAS
touchscreen.

List the touch screen in the devicetree so that the correct ACPI device
are created.

BUG=b:64779224
BRANCH=reef
TEST=emerge-snappy coreboot
Change-Id: If2bc910d641e0cf2b120ed883c5788542959f568
Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/21067
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Kevin Chiu 2017-08-17 18:43:47 +08:00 committed by Aaron Durbin
parent 57f8386a2b
commit 215beb028b
1 changed files with 7 additions and 0 deletions

View File

@ -193,6 +193,13 @@ chip soc/intel/apollolake
register "has_power_resource" = "1"
device i2c 10 on end
end
chip drivers/i2c/generic
register "hid" = ""MLFS0000""
register "desc" = ""Melfas Touchscreen""
register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_21_IRQ)"
register "probed" = "1"
device i2c 34 on end
end
chip drivers/i2c/hid
register "generic.hid" = ""WDHT0002""
register "generic.desc" = ""WDT Touchscreen""