summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorWei Hualin <weihualin@huaqin.corp-partner.google.com>2024-10-28 21:13:09 +0800
committerEric Lai <ericllai@google.com>2024-11-04 03:47:24 +0000
commitaf4a2ed955ed93512cdb13d78b5d5a779bac1fb0 (patch)
tree6fe5bf7b01152c5a0fc8a5d912380c70ffcafa29 /src/mainboard
parent7e08936a64f6c1f75ecef71b56eedf36c8c74234 (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/dedede/variants/awasuki/overridetree.cb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/awasuki/overridetree.cb b/src/mainboard/google/dedede/variants/awasuki/overridetree.cb
index 6a7df2fc48..cc7eba8330 100644
--- a/src/mainboard/google/dedede/variants/awasuki/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/awasuki/overridetree.cb
@@ -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,