Stanley Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/57297 )
Change subject: mb/google/dedede/var/gooey: Configure I2C times for I2C devices ......................................................................
mb/google/dedede/var/gooey: Configure I2C times for I2C devices
Configure I2C high / low time in device tree to ensure I2C CLK runs under I2C_SPEED_FAST (400 kHz).
Measured I2C frequency just as below after tuning: Touchpad: 386.7kHz Touchscreen: 387.4kHz Audio: 385.7kHz P-sensor: 378.1kHz
BaUG=b:197247706 BRANCH=dedede TEST=Build and check I2C clock is under 400kHz
Signed-off-by: stanley.wu stanley1.wu@lcfc.corp-partner.google.com Change-Id: Ic5d5660181f36f161ae04cbf5003f6d7ad4bc16f --- M src/mainboard/google/dedede/variants/gooey/overridetree.cb 1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/57297/1
diff --git a/src/mainboard/google/dedede/variants/gooey/overridetree.cb b/src/mainboard/google/dedede/variants/gooey/overridetree.cb index 9b291fb..ab0e410 100644 --- a/src/mainboard/google/dedede/variants/gooey/overridetree.cb +++ b/src/mainboard/google/dedede/variants/gooey/overridetree.cb @@ -13,18 +13,26 @@ register "common_soc_config" = "{ .i2c[0] = { .speed = I2C_SPEED_FAST, + .rise_time_ns = 212, + .fall_time_ns = 38, }, .i2c[1] = { .speed = I2C_SPEED_FAST, }, .i2c[2] = { .speed = I2C_SPEED_FAST, + .rise_time_ns = 212, + .fall_time_ns = 38, }, .i2c[4] = { .speed = I2C_SPEED_FAST, + .rise_time_ns = 212, + .fall_time_ns = 38, }, .i2c[5] = { .speed = I2C_SPEED_FAST, + .rise_time_ns = 212, + .fall_time_ns = 38, }, }"