google/eve: Enable touch devices

Enable the actual touch devices to be probed by the kernel
and remove the placeholder devices that I put in before
and were used for initial bringup.

BUG=chrome-os-partner:58666
TEST=tested on eve

Change-Id: I7fc6f9da83b1abbae6dd069f759b220d59153d1c
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/17896
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Duncan Laurie 2016-12-15 18:51:29 -08:00
parent 731ef9b7ad
commit 2d14021279
2 changed files with 21 additions and 26 deletions

View File

@ -23,6 +23,12 @@ config CHROMEOS
config DRIVERS_I2C_GENERIC config DRIVERS_I2C_GENERIC
def_bool y def_bool y
config DRIVERS_I2C_HID
def_bool y
config DRIVERS_I2C_WACOM
def_bool y
config DRIVERS_PS2_KEYBOARD config DRIVERS_PS2_KEYBOARD
default y default y

View File

@ -198,19 +198,14 @@ chip soc/intel/skylake
device pci 14.1 off end # USB xDCI (OTG) device pci 14.1 off end # USB xDCI (OTG)
device pci 14.2 on end # Thermal Subsystem device pci 14.2 on end # Thermal Subsystem
device pci 15.0 on device pci 15.0 on
chip drivers/i2c/generic chip drivers/i2c/wacom
register "hid" = ""ATML0001"" register "generic.hid" = "WCOM50C1_HID"
register "desc" = ""Atmel Touchscreen"" register "generic.cid" = "PNP0C50_CID"
register "irq" = "IRQ_EDGE_LOW(GPP_E7_IRQ)" register "generic.desc" = "WCOM_DT_DESC"
register "probed" = "1" register "generic.irq" = "IRQ_LEVEL_LOW(GPP_E7_IRQ)"
device i2c 4b on end register "generic.probed" = "1"
end register "hid_desc_reg_offset" = "0x1"
chip drivers/i2c/generic device i2c 0a on end
register "hid" = ""ATML0001""
register "desc" = ""Atmel Touchscreen Bootloader""
register "irq" = "IRQ_EDGE_LOW(GPP_E7_IRQ)"
register "probed" = "1"
device i2c 27 on end
end end
end # I2C #0 end # I2C #0
device pci 15.1 on device pci 15.1 on
@ -221,19 +216,13 @@ chip soc/intel/skylake
end end
end # I2C #1 end # I2C #1
device pci 15.2 on device pci 15.2 on
chip drivers/i2c/generic chip drivers/i2c/hid
register "hid" = ""ATML0000"" register "generic.hid" = ""ACPI0C50""
register "desc" = ""Atmel Touchpad"" register "generic.desc" = ""Touchpad""
register "irq" = "IRQ_EDGE_LOW(GPP_B3_IRQ)" register "generic.irq" = "IRQ_LEVEL_LOW(GPP_B3_IRQ)"
register "probed" = "1" register "generic.probed" = "1"
device i2c 4a on end register "hid_desc_reg_offset" = "0x0"
end device i2c 49 on end
chip drivers/i2c/generic
register "hid" = ""ATML0000""
register "desc" = ""Atmel Touchpad Bootloader""
register "irq" = "IRQ_EDGE_LOW(GPP_B3_IRQ)"
register "probed" = "1"
device i2c 26 on end
end end
end # I2C #2 end # I2C #2
device pci 15.3 off end # I2C #3 device pci 15.3 off end # I2C #3