summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quantatw.com>2021-01-05 21:53:41 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-07 08:19:16 +0000
commit0363d6da2a674b3ec118b777274abb198ae79149 (patch)
tree452ebaf61231128c6cb8394c5cd8d3f4f998c02a /src/mainboard
parentfbf6ae127a34605373db92220cf8fae03e209bef (diff)
mb/google/volteer/var/elemi: Tune i2c frequency
Tuning i2c frequency for elemi I2C0: 396.6 KHz I2C1: 395.9 KHz I2C5: 397.1 KHz BUG=b:176794161 BRANCH=volteer TEST=emerge-voleteer coreboot, and measure i2c clock. Change-Id: I23b04a9b5ff8873d9de12e762e8e2786ef474ac0 Signed-off-by: Wisley Chen <wisley.chen@quantatw.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49116 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/volteer/variants/elemi/overridetree.cb19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/elemi/overridetree.cb b/src/mainboard/google/volteer/variants/elemi/overridetree.cb
index af58b81701..c30dce39b4 100644
--- a/src/mainboard/google/volteer/variants/elemi/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/elemi/overridetree.cb
@@ -36,9 +36,21 @@ chip soc/intel/tigerlake
},
.i2c[0] = {
.speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 160,
+ .scl_hcnt = 75,
+ .sda_hold = 36,
+ },
},
.i2c[1] = {
.speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 158,
+ .scl_hcnt = 75,
+ .sda_hold = 36,
+ },
},
.i2c[2] = {
.speed = I2C_SPEED_FAST,
@@ -48,6 +60,13 @@ chip soc/intel/tigerlake
},
.i2c[5] = {
.speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 158,
+ .scl_hcnt = 75,
+ .sda_hold = 36,
+ },
+
},
}"