Johnny Li has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43747 )
Change subject: mb/google/volteer/variant/volteer: Turn I2C0 bus freq closer to 400 kHz for Audio ......................................................................
mb/google/volteer/variant/volteer: Turn I2C0 bus freq closer to 400 kHz for Audio
The current I2C0 bus frequency is 366 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C0 to bring the bus frequency closer to 400kHz.
BUG=b:153588771 TEST=Verified that I2C0 frequency is 395kHz. Signed-off-by: Johnny Li johnny_li@wistron.corp-partner.google.com Change-Id: I7064fe38ad7b94d6a4188a322642f18717c2a327 --- M src/mainboard/google/volteer/variants/volteer/overridetree.cb 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/43747/1
diff --git a/src/mainboard/google/volteer/variants/volteer/overridetree.cb b/src/mainboard/google/volteer/variants/volteer/overridetree.cb index d84ca1d..bbfddef 100644 --- a/src/mainboard/google/volteer/variants/volteer/overridetree.cb +++ b/src/mainboard/google/volteer/variants/volteer/overridetree.cb @@ -23,6 +23,9 @@ }, .i2c[0] = { .speed = I2C_SPEED_FAST, + .scl_lcnt = 155, + .scl_hcnt = 75, + .sda_hold = 36, }, .i2c[1] = { .speed = I2C_SPEED_FAST,