diff options
author | Wei-Ning Huang <wnhuang@google.com> | 2017-04-24 18:53:22 +0800 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2017-04-27 22:26:01 +0200 |
commit | 267e4a58245c765c7e621bfa9b6d5589effcfe01 (patch) | |
tree | 8674c05dc1e5a8363055f71d3d21d5f1e165208f | |
parent | ca3815b4c586c63743892ee04ad61026d6ba4df0 (diff) | |
download | coreboot-267e4a58245c765c7e621bfa9b6d5589effcfe01.tar.xz |
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.
Change-Id: Iecaf14f7b8aed836120569e9ade9c3115bc00264
Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
Reviewed-on: https://review.coreboot.org/19461
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r-- | src/mainboard/google/eve/devicetree.cb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb index 275ee8adfa..1305f9cb51 100644 --- a/src/mainboard/google/eve/devicetree.cb +++ b/src/mainboard/google/eve/devicetree.cb @@ -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 |