aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Chou <rex_chou@compal.corp-partner.google.com>2022-12-19 10:54:35 +0800
committerKarthik Ramasubramanian <kramasub@google.com>2022-12-20 21:02:27 +0000
commit134d740168f602c7c697e5b1975f8a0a591b205d (patch)
tree0545dc48034f4c64a7d5811b455405c1d8fc2fec
parent161d090d22f9f687a328a9582b264bec734d042b (diff)
mb/google/skyrim/var/frostflow: Config I2C frequency for touchpad.
1.Config setting for touchpad I2C BUG=b:261159229 TEST=On frostflow, touchpad i2c spec from EE measure Frequencies: 1.I2C0 (Touchpad): 385.7kHz Change-Id: I4ca72ee7fabd4b641eb17451ed8d942c5df52dde Signed-off-by: Rex Chou <rex_chou@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71063 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: John Su <john_su@compal.corp-partner.google.com> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/overridetree.cb9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
index d4b659985f..bc9aec126b 100644
--- a/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
+++ b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
@@ -14,6 +14,15 @@ chip soc/amd/mendocino
# Set Package Power Parameters
register "stapm_time_constant_s" = "200"
+ register "i2c[0]" = "{
+ .speed = I2C_SPEED_FAST,
+ .speed_config[0] = {
+ .speed = I2C_SPEED_FAST,
+ .scl_hcnt = 120,
+ .scl_lcnt = 240,
+ }
+ }"
+
device domain 0 on
device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A
device ref xhci_1 on # XHCI1 controller