Eric Lai has submitted this change. ( https://review.coreboot.org/c/coreboot/+/84898?usp=email )
(
6 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: mb/google/dedede/var/awasuki: Tune I2C touchpad for freq and TH ......................................................................
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 --- M src/mainboard/google/dedede/variants/awasuki/overridetree.cb 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: Paul Menzel: Looks good to me, but someone else must approve Eric Lai: Looks good to me, approved build bot (Jenkins): Verified Weimin Wu: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/dedede/variants/awasuki/overridetree.cb b/src/mainboard/google/dedede/variants/awasuki/overridetree.cb index 6a7df2f..cc7eba83 100644 --- a/src/mainboard/google/dedede/variants/awasuki/overridetree.cb +++ b/src/mainboard/google/dedede/variants/awasuki/overridetree.cb @@ -30,6 +30,12 @@ }, .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,