summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Li <johnny_li@wistron.corp-partner.google.com>2020-11-05 13:13:44 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-11-09 07:23:52 +0000
commit04582e900102357056aa218e5a413edb52409e87 (patch)
tree1047e460f8529381c33325fbc79d686ffb7d6597
parente569e3e248f7df389d4b86ebc1c145d6781de45e (diff)
downloadcoreboot-04582e900102357056aa218e5a413edb52409e87.tar.xz
mb/google/volteer/variants/volteer2: Tune I2C3 camera bus freq 400 kHz
The current I2C3 bus frequency is 341 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C3 to bring the bus frequency closer to 400kHz. BUG=b:153588771 TEST=Verified that I2C3 frequency is 394kHz. Signed-off-by: Johnny Li <johnny_li@wistron.corp-partner.google.com> Change-Id: Ie1ef95bb39d71fbb113120a0ec88305bc23e7ab9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47225 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Caveh Jalali <caveh@chromium.org>
-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 bb4db53e32..1cb0b52b03 100644
--- a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb
@@ -39,6 +39,12 @@ chip soc/intel/tigerlake
},
.i2c[3] = {
.speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 153,
+ .scl_hcnt = 75,
+ .sda_hold = 36,
+ },
},
.i2c[5] = {
.speed = I2C_SPEED_FAST,