summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/variants
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-11-03 13:34:13 -0500
committerAaron Durbin <adurbin@chromium.org>2016-11-04 23:19:21 +0100
commit85a80ef4726a0f088d7d2007553349b861908386 (patch)
treed1044d0d5b97b81d0d19c4a4ddfea84d7fee92a6 /src/mainboard/google/reef/variants
parent242cb3b601396a5178680f7731b8d5f9d257c646 (diff)
reef: tune trackpad i2c frequency to 400kHz
This brings the frequency down to 400kHz which is spec for fast i2c. BUG=chrome-os-partner:58889 Change-Id: Ibc5f152e55ed618f18ac6425264f086b1f2d1ffa Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/17215 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google/reef/variants')
-rw-r--r--src/mainboard/google/reef/variants/baseboard/devicetree.cb11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/baseboard/devicetree.cb b/src/mainboard/google/reef/variants/baseboard/devicetree.cb
index 559b0071be..5aa1d32ec2 100644
--- a/src/mainboard/google/reef/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/reef/variants/baseboard/devicetree.cb
@@ -84,6 +84,17 @@ chip soc/intel/apollolake
}
}"
+ # Limit trackpad speed to 400kHz with manually tuned values.
+ register "i2c[4]" = "{
+ .speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 0xd0,
+ .scl_hcnt = 0x68,
+ .sda_hold = 0x27,
+ }
+ }"
+
# Minimum SLP S3 assertion width 28ms.
register "slp_s3_assertion_width_usecs" = "28000"