aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/glkrvp/variants
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2017-11-29 00:19:54 -0800
committerAaron Durbin <adurbin@chromium.org>2017-12-14 17:33:45 +0000
commitced08642eb26f6d5126513d3cd8493bded246154 (patch)
tree53210d27c40da74224403bb81a37b660cf1ad251 /src/mainboard/intel/glkrvp/variants
parente89d444043b63529fa7d5a54e821ea491da006c2 (diff)
mb/glkrvp: Enable Touchpad
This patch enables the APLS touchpad in glkrvp platform. TEST= Boot and test touchpad works. Change-Id: I6f52f7db57ab52b5531e647bde2adbb78b40f76f Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/22627 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/intel/glkrvp/variants')
-rw-r--r--src/mainboard/intel/glkrvp/variants/baseboard/devicetree.cb10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/intel/glkrvp/variants/baseboard/devicetree.cb b/src/mainboard/intel/glkrvp/variants/baseboard/devicetree.cb
index 4b939473bd..c0831459bd 100644
--- a/src/mainboard/intel/glkrvp/variants/baseboard/devicetree.cb
+++ b/src/mainboard/intel/glkrvp/variants/baseboard/devicetree.cb
@@ -143,7 +143,15 @@ chip soc/intel/apollolake
device pci 16.1 off end # - I2C 1
device pci 16.2 off end # - I2C 2
device pci 16.3 off end # - I2C 3
- device pci 17.0 on end # - I2C 4
+ device pci 17.0 on
+ chip drivers/i2c/hid
+ register "generic.hid" = ""ALPS0001""
+ register "generic.desc" = ""Touchpad""
+ register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_18_IRQ)"
+ register "hid_desc_reg_offset" = "0x1"
+ device i2c 2C on end
+ end
+ end # I2C 4
device pci 17.1 off end # - I2C 5
device pci 17.2 off end # - I2C 6
device pci 17.3 on end # - I2C 7