From 82130369a1c8b06b0aa5e804096d93b98ffce7cc Mon Sep 17 00:00:00 2001 From: Ian Feng Date: Tue, 12 Oct 2021 14:17:37 +0800 Subject: mb/google/dedede/var/corori: Configure I2C times for Touchpad Configure I2C high / low time in the device tree to ensure Touchpad I2C CLK runs accurately between 380 kHz and 400 kHz. Measured I2C frequency just as below after tuning: Touch Pad CLK: 389.2 KHz BUG=b:202787528 TEST=Build and check after tuning I2C clock is between 380 kHz and 400 kHz Change-Id: I0f9d062fc611de0062a39849aee1174268391682 Signed-off-by: Ian Feng Reviewed-on: https://review.coreboot.org/c/coreboot/+/58238 Tested-by: build bot (Jenkins) Reviewed-by: Henry Sun Reviewed-by: Karthik Ramasubramanian Reviewed-by: Paul Menzel --- src/mainboard/google/dedede/variants/corori/overridetree.cb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/dedede/variants/corori/overridetree.cb b/src/mainboard/google/dedede/variants/corori/overridetree.cb index d322000cbd..f7899a6140 100644 --- a/src/mainboard/google/dedede/variants/corori/overridetree.cb +++ b/src/mainboard/google/dedede/variants/corori/overridetree.cb @@ -39,6 +39,8 @@ chip soc/intel/jasperlake register "common_soc_config" = "{ .i2c[0] = { .speed = I2C_SPEED_FAST, + .rise_time_ns = 255, + .fall_time_ns = 14, }, .i2c[4] = { .speed = I2C_SPEED_FAST, -- cgit v1.2.3