summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/amenia
diff options
context:
space:
mode:
authorJagadish Krishnamoorthy <jagadish.krishnamoorthy@intel.com>2016-05-19 19:32:13 -0700
committerAaron Durbin <adurbin@chromium.org>2016-05-24 20:30:31 +0200
commitc123ccfa127b58a20ad3efa800c0e73f307f0ac5 (patch)
treefabe01dd9dee1d04853ee511a4aafa39c88f7d70 /src/mainboard/intel/amenia
parente2e561d31fcb1a9227a06ed1fb821090815050c7 (diff)
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>
Diffstat (limited to 'src/mainboard/intel/amenia')
-rw-r--r--src/mainboard/intel/amenia/acpi/mainboard.asl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/intel/amenia/acpi/mainboard.asl b/src/mainboard/intel/amenia/acpi/mainboard.asl
index 35043b0e73..09ef9b4e34 100644
--- a/src/mainboard/intel/amenia/acpi/mainboard.asl
+++ b/src/mainboard/intel/amenia/acpi/mainboard.asl
@@ -18,6 +18,18 @@
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)
{
Name (_HID, "ELAN0000")