summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu@quanta.corp-partner.google.com>2020-08-17 15:08:22 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-08-19 07:14:11 +0000
commit39fd923b0b243476f4cd608386fc2c46ab62d225 (patch)
treee635383f0e0b8713a4ed22238076c4022001f9a3 /src/mainboard
parent7f94b405be122b85438f4cd17aa1d43a106b987f (diff)
downloadcoreboot-39fd923b0b243476f4cd608386fc2c46ab62d225.tar.xz
mb/google/zork: Adjust Dirinboz I2C values
BUG=b:164757545 BRANCH=master TEST=1. emerge-zork coreboot chromeos-bootimage 2. power on proto board successfully 3. measure i2c freq by scope is close to 400kHz Change-Id: Icb27ff8a4960caaebc542ee4e507f1611da5a77e Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44515 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/overridetree.cb8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
index 7645ba33e3..c43063c688 100644
--- a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
@@ -1,5 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-
chip soc/amd/picasso
# Start : OPN Performance Configuration
@@ -18,16 +17,19 @@ chip soc/amd/picasso
# End : OPN Performance Configuration
- # I2C2 for touchscreen and trackpad
+ # I2C2 for touchscreen and trackpad
register "i2c[2]" = "{
.speed = I2C_SPEED_FAST,
+ .rise_time_ns = 18, /* 0 to 2.31 (3.3 * .7) */
+ .fall_time_ns = 57, /* 2.31 to 0 */
}"
# I2C3 for H1
-
register "i2c[3]" = "{
.speed = I2C_SPEED_FAST,
+ .rise_time_ns = 184, /* 0 to 1.26v (1.8 * .7) */
+ .fall_time_ns = 42, /* 1.26v to 0 */
.early_init = true,
}"