mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: mb/google/eve: switch touchpad devicetree to i2c-hid and cros_ec i2c device
The new touchpad firmware uses i2c-hid instead of custom reporting
protocol. The touchpad also exposed another slave address (0x1e) for
kernel to communicate with the touchpad EC.
BUG=none
BRANCH=none
TEST=none
Change-Id: I717e1e1b5b739bef34c697e4f7ab4cb1b7593862
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 267e4a5824
Original-Change-Id: Iecaf14f7b8aed836120569e9ade9c3115bc00264
Original-Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
Original-Reviewed-on: https://review.coreboot.org/19461
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/490077
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
50023d3965
commit
952d9af2ed
1 changed files with 10 additions and 4 deletions
|
@ -241,12 +241,18 @@ chip soc/intel/skylake
|
|||
end
|
||||
end # I2C #1
|
||||
device pci 15.2 on
|
||||
chip drivers/i2c/generic
|
||||
register "hid" = ""GOOG5400""
|
||||
register "desc" = ""Touchpad""
|
||||
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
|
||||
chip drivers/i2c/hid
|
||||
register "generic.hid" = ""ACPI0C50""
|
||||
register "generic.desc" = ""Touchpad""
|
||||
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
|
||||
register "hid_desc_reg_offset" = "0x1"
|
||||
device i2c 49 on end
|
||||
end
|
||||
chip drivers/i2c/generic
|
||||
register "hid" = ""GOOG0008""
|
||||
register "desc" = ""Touchpad EC Interface""
|
||||
device i2c 1e on end
|
||||
end
|
||||
end # I2C #2
|
||||
device pci 15.3 off end # I2C #3
|
||||
device pci 16.0 on end # Management Engine Interface 1
|
||||
|
|
Loading…
Add table
Reference in a new issue