summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJohn Su <john_su@compal.corp-partner.google.com>2020-09-15 14:41:59 +0800
committerKarthik Ramasubramanian <kramasub@google.com>2020-09-22 05:01:28 +0000
commit5bd4adf542abea433c98c72f7423762109412d4d (patch)
treec628e70c420986fde14bc53810dcfae6fd42b32c /src/mainboard
parent370b8b6ceff588fc8616fc6ce4d3715c1a0d22b6 (diff)
downloadcoreboot-5bd4adf542abea433c98c72f7423762109412d4d.tar.xz
mb/google/dedede/variants/madoo: Adjust I2Cs CLK to meet spec
After adjustment on madoo Touch Pad CLK: 381.9 KHz Touch Screen CLK: 389.4 KHz Audio CLK: 380.9 KHz BUG=b:168565823 BRANCH=master TEST=USE=build madoo and measure by scope with madoo. Signed-off-by: John Su <john_su@compal.corp-partner.google.com> Change-Id: If281f9a8614e3e0ef20893b456f46e68ecb0631d Reviewed-on: https://review.coreboot.org/c/coreboot/+/45406 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/dedede/variants/madoo/overridetree.cb12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/madoo/overridetree.cb b/src/mainboard/google/dedede/variants/madoo/overridetree.cb
index 90989d2b44..039fd108b3 100644
--- a/src/mainboard/google/dedede/variants/madoo/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/madoo/overridetree.cb
@@ -33,12 +33,24 @@ chip soc/intel/jasperlake
},
.i2c[0] = {
.speed = I2C_SPEED_FAST,
+ .rise_time_ns = 270,
+ .fall_time_ns = 270,
+ .data_hold_time_ns = 350,
},
.i2c[2] = {
.speed = I2C_SPEED_FAST,
+ .speed = I2C_SPEED_FAST,
+ .rise_time_ns = 200,
+ .fall_time_ns = 200,
},
.i2c[4] = {
.speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_lcnt = 190,
+ .scl_hcnt = 100,
+ .sda_hold = 40,
+ },
},
}"
device domain 0 on