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>
This commit is contained in:
Prabal Saha 2016-07-14 12:34:33 -07:00 committed by Martin Roth
parent 79239b75a7
commit 0eb9103f5d
1 changed files with 6 additions and 0 deletions

View File

@ -165,6 +165,9 @@ Device (I2C0)
Name (_UID, 1) Name (_UID, 1)
Name (_ADR, 0x00150001) 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 // BAR0 is assigned during PCI enumeration and saved into NVS
Name (RBUF, ResourceTemplate () Name (RBUF, ResourceTemplate ()
{ {
@ -244,6 +247,9 @@ Device (I2C1)
Name (_UID, 1) Name (_UID, 1)
Name (_ADR, 0x00150002) 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 // BAR0 is assigned during PCI enumeration and saved into NVS
Name (RBUF, ResourceTemplate () Name (RBUF, ResourceTemplate ()
{ {