intel/amenia: Configure Trackpad IC_SDA_HOLD time

Elan trackpad needs greater sda hold time.
Configure IC_SDA_HOLD register to increase
the i2c sda hold time by 0.3us.

Change-Id: I3d966eed62a059ecb6a0a88e9f4e6b4ba7a925e4
Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@intel.com>
Reviewed-on: https://review.coreboot.org/14922
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Jagadish Krishnamoorthy 2016-05-19 19:32:13 -07:00 committed by Aaron Durbin
parent e2e561d31f
commit c123ccfa12
1 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,18 @@
Scope (\_SB.PCI0.I2C4) Scope (\_SB.PCI0.I2C4)
{ {
/* Standard Mode: HCNT, LCNT, SDA Hold Register */
/* SDA Hold register value of 40 indicates
* sda hold time of 0.3us for ic_clk of 133MHz
*/
Name (SSCN, Package () { 0, 0, 40 })
/* Fast Mode: HCNT, LCNT, SDA Hold Register */
/* SDA Hold register value of 40 indicates
* sda hold time of 0.3us for ic_clk of 133MHz
*/
Name (FMCN, Package () { 0, 0, 40 })
Device (ETPA) Device (ETPA)
{ {
Name (_HID, "ELAN0000") Name (_HID, "ELAN0000")