mb/google/dedede/var/awasuki: Tune I2C touchpad for freq and TH

1. Modify the I2C frequency of the touchpad between 380 Khz and
400 Khz to meet the spec.
2. Increase clk the time of high (TH) to greater than 600ns.

Before:
I2C0 - 420KHz
TH - 557ns

After:
I2C0 - 398Khz
TH - 630ns

BUG=b:351968527
TEST=Check that the wave form meets the spec.

Change-Id: I5ccaa3a669e18319311de14833966410c7adf40d
Signed-off-by: Hualin Wei <weihualin@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84898
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com>
This commit is contained in:
Wei Hualin 2024-10-28 21:13:09 +08:00 committed by Eric Lai
commit af4a2ed955

View file

@ -30,6 +30,12 @@ chip soc/intel/jasperlake
},
.i2c[0] = {
.speed = I2C_SPEED_FAST,
.speed_config[0] = {
.speed = I2C_SPEED_FAST,
.scl_lcnt = 178,
.scl_hcnt = 92,
.sda_hold = 40,
}
},
.i2c[2] = {
.speed = I2C_SPEED_FAST,