summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrabal Saha <coolstarorganization@gmail.com>2016-07-14 12:34:33 -0700
committerMartin Roth <martinroth@google.com>2016-11-30 17:45:30 +0100
commit0eb9103f5d6d0015c4384e812a67b346d8d9f107 (patch)
tree115b083feb69b633004f5e739acf04632ba4abac
parent79239b75a7eb6f1749c350848b2ba2c2ba1a5314 (diff)
downloadcoreboot-0eb9103f5d6d0015c4384e812a67b346d8d9f107.tar.xz
sb/intel/lynxpoint: add missing I2C ACPI SSCN/FMCN methods
The SSCN and FMCN methods provide the optimal HCNT/LCNT timing values to the driver, and are necessary when using I2C devices (eg, trackpad and touchscreen) in ACPI (vs PCI) mode. Add these methods using the timing values from Broadwell, which work for Haswell/Lynxpoint as well. TEST: build google/peppy with trackpad/touchscreen devices in ACPI mode, observe proper operation under Windows [8.1/10] and Linux [Mint 18] Change-Id: I25f07ac474b041358315530e5f391bb33d9c4d04 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/17620 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Prabal Saha <coolstarorganization@gmail.com>
-rw-r--r--src/southbridge/intel/lynxpoint/acpi/serialio.asl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/southbridge/intel/lynxpoint/acpi/serialio.asl b/src/southbridge/intel/lynxpoint/acpi/serialio.asl
index 930a8eea27..e8e81c3f03 100644
--- a/src/southbridge/intel/lynxpoint/acpi/serialio.asl
+++ b/src/southbridge/intel/lynxpoint/acpi/serialio.asl
@@ -165,6 +165,9 @@ Device (I2C0)
Name (_UID, 1)
Name (_ADR, 0x00150001)
+ Name (SSCN, Package () { 432, 507, 30 })
+ Name (FMCN, Package () { 72, 160, 30 })
+
// BAR0 is assigned during PCI enumeration and saved into NVS
Name (RBUF, ResourceTemplate ()
{
@@ -244,6 +247,9 @@ Device (I2C1)
Name (_UID, 1)
Name (_ADR, 0x00150002)
+ Name (SSCN, Package () { 432, 507, 30 })
+ Name (FMCN, Package () { 72, 160, 30 })
+
// BAR0 is assigned during PCI enumeration and saved into NVS
Name (RBUF, ResourceTemplate ()
{