Johnny Li has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47558 )
Change subject: mb/google/volteer/variants/volteer2: Turn I2C2 bus freq closer to 400 kHz for WLAN ......................................................................
mb/google/volteer/variants/volteer2: Turn I2C2 bus freq closer to 400 kHz for WLAN
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 --- M src/mainboard/google/volteer/variants/volteer2/overridetree.cb 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/47558/1
diff --git a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb index e4da0e6..4678d26 100644 --- a/src/mainboard/google/volteer/variants/volteer2/overridetree.cb +++ b/src/mainboard/google/volteer/variants/volteer2/overridetree.cb @@ -36,6 +36,13 @@ }, .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,