diff options
author | Aamir Bohra <aamir.bohra@intel.com> | 2018-11-21 12:31:54 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2018-11-23 06:16:22 +0000 |
commit | 3032d7677883eb726d14fcd85efae7a7c068259a (patch) | |
tree | 0907ad1646465d7a3221d8516f518944508a2219 | |
parent | 4041bcf629c9b0239cca7a71091f6e6f0c669b4b (diff) | |
download | coreboot-3032d7677883eb726d14fcd85efae7a7c068259a.tar.xz |
mb/intel/icelake_rvp: Add support for ALPS touchpad
BUG:none
TEST:Verify cursor response and button clicks
Change-Id: I4085b70560e2840c71b989348f56ca907e7cea4b
Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-on: https://review.coreboot.org/c/29777
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Shelley Chen <shchen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb | 10 | ||||
-rw-r--r-- | src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb b/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb index a57d91afbe..603be42d91 100644 --- a/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb +++ b/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb @@ -106,7 +106,15 @@ chip soc/intel/icelake device pci 14.3 on end # CNVi wifi end device pci 14.5 on end # SDCard - device pci 15.0 on end # I2C #0 + device pci 15.0 on + chip drivers/i2c/hid + register "generic.hid" = ""ALPS0000"" + register "generic.desc" = ""Touchpad"" + register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C8_IRQ)" + register "hid_desc_reg_offset" = "0x20" + device i2c 2c on end + end + end # I2C 0 device pci 15.1 on end # I2C #1 device pci 15.2 off end # I2C #2 device pci 15.3 on end # I2C #3 diff --git a/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb b/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb index f8fbfb4c29..a1e64ee7a6 100644 --- a/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb +++ b/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb @@ -90,7 +90,15 @@ chip soc/intel/icelake device pci 14.3 on end # CNVi wifi end device pci 14.5 on end # SDCard - device pci 15.0 on end # I2C 0 + device pci 15.0 on + chip drivers/i2c/hid + register "generic.hid" = ""ALPS0000"" + register "generic.desc" = ""Touchpad"" + register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C8_IRQ)" + register "hid_desc_reg_offset" = "0x20" + device i2c 2c on end + end + end # I2C 0 device pci 15.1 on end # I2C #1 device pci 15.2 off end # I2C #2 device pci 15.3 on end # I2C #3 |