From 4337349883bd5e8cf92e7bd172e54a92f9a4c6fd Mon Sep 17 00:00:00 2001 From: Joey Peng Date: Thu, 20 Jan 2022 18:50:43 +0800 Subject: mb/google/brya/var/{taeko, taeko4es}: Modify touchpad i2c signal Modify i2c signal to meet touchpad vendor spec. Please see issue tracker for more details. BUG=b:215487482 TEST=emerge-brya coreboot and check measured waveform in spec Signed-off-by: Joey Peng Change-Id: Ib3797d4e232654ada97092d9f2742ca040d0f0e4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61271 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/variants/taeko/overridetree.cb | 10 +++++++++- src/mainboard/google/brya/variants/taeko4es/overridetree.cb | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/brya/variants') diff --git a/src/mainboard/google/brya/variants/taeko/overridetree.cb b/src/mainboard/google/brya/variants/taeko/overridetree.cb index c99777d907..f11da345cb 100644 --- a/src/mainboard/google/brya/variants/taeko/overridetree.cb +++ b/src/mainboard/google/brya/variants/taeko/overridetree.cb @@ -93,7 +93,15 @@ chip soc/intel/alderlake .speed = I2C_SPEED_FAST, }, .i2c[5] = { - .speed = I2C_SPEED_FAST, + .rise_time_ns = 650, + .fall_time_ns = 400, + .data_hold_time_ns = 500, + .speed_config[0] = { + .speed = I2C_SPEED_FAST, + .scl_lcnt = 160, + .scl_hcnt = 70, + .sda_hold = 40, + } }, }" # I2C Port Config diff --git a/src/mainboard/google/brya/variants/taeko4es/overridetree.cb b/src/mainboard/google/brya/variants/taeko4es/overridetree.cb index 7609ba6d4d..de8b42fec1 100644 --- a/src/mainboard/google/brya/variants/taeko4es/overridetree.cb +++ b/src/mainboard/google/brya/variants/taeko4es/overridetree.cb @@ -89,7 +89,15 @@ chip soc/intel/alderlake .speed = I2C_SPEED_FAST, }, .i2c[5] = { - .speed = I2C_SPEED_FAST, + .rise_time_ns = 650, + .fall_time_ns = 400, + .data_hold_time_ns = 500, + .speed_config[0] = { + .speed = I2C_SPEED_FAST, + .scl_lcnt = 160, + .scl_hcnt = 70, + .sda_hold = 40, + } }, }" # I2C Port Config -- cgit v1.2.3