mb/google/dedede/var/shotzo: Config I2C times for touchscreen/audio

Config I2C high / low time in device tree to ensure I2C
CLK runs accurately at I2C_SPEED_FAST (400 kHz).

EE measured touchscreen/audio runs at 385.5/397.9kHz after tuning.

BUG=b:244403643
BRANCH=firmware-dedede-13606.B
TEST=Build and check after tuning I2C clock is under 400kHz

Change-Id: I7d9503e5f92295432e31f09ae791eaa18eac9d4d
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67242
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Zhuohao Lee <zhuohao@google.com>
This commit is contained in:
Tony Huang 2022-08-31 17:38:48 +08:00 committed by Martin Roth
parent fa03a9f059
commit 8754965db1
1 changed files with 10 additions and 0 deletions

View File

@ -22,9 +22,19 @@ chip soc/intel/jasperlake
},
.i2c[2] = {
.speed = I2C_SPEED_FAST,
.speed_config[0] = {
.speed = I2C_SPEED_FAST,
.scl_lcnt = 185,
.scl_hcnt = 95,
}
},
.i2c[4] = {
.speed = I2C_SPEED_FAST,
.speed_config[0] = {
.speed = I2C_SPEED_FAST,
.scl_lcnt = 185,
.scl_hcnt = 95,
}
},
}"