summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2018-06-15 20:45:29 -0700
committerFurquan Shaikh <furquan@google.com>2018-06-21 04:38:17 +0000
commite750198528f847a515e41c362451510e39ec9218 (patch)
tree174f77683ce42959ea678d6a4afc33bfd93d84bd /src
parent5bf6347cf8e9c20fcb51aacaa8e3fcf24fea59da (diff)
mb/google/poppy/variants/atlas: support i2c-hid trackpad
We plan to use i2c-hid compatible trackpads on atlas, so this switches the trackpad config to i2c-hid. BUG=b:80662079 BRANCH=none TEST=used trackpad to verify motion tracking Change-Id: I2702e61a6aa96250c0c09ea4bd15d0c671eedadc Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://review.coreboot.org/27126 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/poppy/variants/atlas/devicetree.cb12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/devicetree.cb b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
index 7742a83485..1dc981e633 100644
--- a/src/mainboard/google/poppy/variants/atlas/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/atlas/devicetree.cb
@@ -261,12 +261,12 @@ chip soc/intel/skylake
device pci 15.0 on end # I2C #0 - Touchscreen
device pci 15.1 off end # I2C #1
device pci 15.2 on
- chip drivers/i2c/generic
- register "hid" = ""ELAN0000""
- register "desc" = ""ELAN Touchpad""
- register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A19_IRQ)"
- register "wake" = "GPE0_DW0_23" # GPP_A23
- register "probed" = "1" # may not be present
+ chip drivers/i2c/hid
+ register "generic.hid" = ""ACPI0C50""
+ register "generic.desc" = ""ELAN Touchpad""
+ register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_A19_IRQ)"
+ register "generic.wake" = "GPE0_DW0_23" # GPP_A23
+ register "hid_desc_reg_offset" = "0x01"
device i2c 0x15 on end
end
end # I2C #2 - Trackpad