mb/google/dedede/variants/waddledoo: Adjust I2Cs CLK to meet spec

After adjustment on waddledoo
Touch Pad CLK: 392.9 KHz
Touch Screen CLK: 387.4 KHz
Audio CLK: 350.9 KHz

BUG=b:151302522
BRANCH=master
TEST=emerge-dedede coreboot chromeos-bootimage
     measure by scope with waddledoo.

Signed-off-by: John Su <john_su@compal.corp-partner.google.com>
Change-Id: Iec02a751f1effdbefbb2969db2fd57f27ecdd033
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42187
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
John Su 2020-06-08 17:23:17 +08:00 committed by Patrick Georgi
parent e3c68d2e1b
commit 02cce9024e
1 changed files with 6 additions and 4 deletions

View File

@ -24,8 +24,8 @@ chip soc/intel/jasperlake
}, },
.i2c[0] = { .i2c[0] = {
.speed = I2C_SPEED_FAST, .speed = I2C_SPEED_FAST,
.rise_time_ns = 66, .rise_time_ns = 270,
.fall_time_ns = 90, .fall_time_ns = 270,
.data_hold_time_ns = 350, .data_hold_time_ns = 350,
}, },
.i2c[1] = { .i2c[1] = {
@ -33,6 +33,8 @@ chip soc/intel/jasperlake
}, },
.i2c[2] = { .i2c[2] = {
.speed = I2C_SPEED_FAST, .speed = I2C_SPEED_FAST,
.rise_time_ns = 200,
.fall_time_ns = 200,
}, },
.i2c[3] = { .i2c[3] = {
.speed = I2C_SPEED_FAST, .speed = I2C_SPEED_FAST,
@ -41,8 +43,8 @@ chip soc/intel/jasperlake
.speed = I2C_SPEED_FAST, .speed = I2C_SPEED_FAST,
.speed_config[0] = { .speed_config[0] = {
.speed = I2C_SPEED_FAST, .speed = I2C_SPEED_FAST,
.scl_lcnt = 176, .scl_lcnt = 200,
.scl_hcnt = 95, .scl_hcnt = 120,
.sda_hold = 36, .sda_hold = 36,
} }
}, },