summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJoey Peng <joey.peng@lcfc.corp-partner.google.com>2022-01-20 18:50:43 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-01-24 17:09:07 +0000
commit4337349883bd5e8cf92e7bd172e54a92f9a4c6fd (patch)
tree035397d7b8ac2049ac3fb8040c33d7af1e7869a7 /src/mainboard
parent83c30a9cf18ad29b96dc819ad9b639fdb7f82c15 (diff)
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 <joey.peng@lcfc.corp-partner.google.com> Change-Id: Ib3797d4e232654ada97092d9f2742ca040d0f0e4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61271 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/taeko/overridetree.cb10
-rw-r--r--src/mainboard/google/brya/variants/taeko4es/overridetree.cb10
2 files changed, 18 insertions, 2 deletions
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