mb/google/dedede/var/sasukette: Configure I2C times for touchpad

Configure I2C high / low time in the device tree to ensure I2C
CLK runs accurately between 380 kHz and 400 kHz.

Measured I2C frequency just as below after tuning:
touchpad:390.4 kHz

BUG=b:192601250
BRANCH=dedede
TEST=Build and check after tuning I2C clock is between 380 kHz and 400 kHz

Signed-off-by: Tao Xia <xiatao5@huaqin.corp-partner.google.com>
Change-Id: Ibe1603a48a3e841b6a50aa0c703697ec615b2854
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56016
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
Tao Xia 2021-07-02 11:30:46 +08:00 committed by Patrick Georgi
parent ae6a3e83ca
commit 6c1bdc8939
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,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 = 185, .scl_lcnt = 180,
.scl_hcnt = 95, .scl_hcnt = 90,
.sda_hold = 40, .sda_hold = 40,
} }
}, },