From af4a2ed955ed93512cdb13d78b5d5a779bac1fb0 Mon Sep 17 00:00:00 2001 From: Wei Hualin Date: Mon, 28 Oct 2024 21:13:09 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84898 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Weimin Wu --- src/mainboard/google/dedede/variants/awasuki/overridetree.cb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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, -- cgit v1.2.3