summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohnny Li <johnny_li@wistron.corp-partner.google.com>2020-11-13 16:30:31 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-11-17 00:49:37 +0000
commitdf3cbddb5825023d7788365f52c0c24ecc873b1b (patch)
tree01059f32a6463bf72e43063c82f8042dc7480b7a /src
parent1fe129f321ee9b8120c12d6224a728db2e564cf0 (diff)
mb/google/volteer/variants/volteer2: Tune Volteer2 I2C2 bus frequency
The current I2C2 bus frequency is 344 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C2 to bring the bus frequency closer to 400 kHz. BUG=b:153588771 TEST=Verified that I2C2 frequency is 380 kHz. Signed-off-by: Johnny Li <johnny_li@wistron.corp-partner.google.com> Change-Id: I96fa5ed586de41324733ac7537b6bd73f39fc176 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47558 Reviewed-by: Caveh Jalali <caveh@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/volteer/variants/volteer2/overridetree.cb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
index e4da0e6252..72cb79ac92 100644
--- a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
@@ -36,6 +36,12 @@ chip soc/intel/tigerlake
},
.i2c[2] = {
.speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 163,
+ .scl_hcnt = 75,
+ .sda_hold = 36,
+ },
},
.i2c[3] = {
.speed = I2C_SPEED_FAST,