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>
This commit is contained in:
Rex Chou 2022-12-19 10:54:35 +08:00 committed by Karthik Ramasubramanian
parent 161d090d22
commit 134d740168
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,15 @@ chip soc/amd/mendocino
# Set Package Power Parameters # Set Package Power Parameters
register "stapm_time_constant_s" = "200" 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 domain 0 on
device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A
device ref xhci_1 on # XHCI1 controller device ref xhci_1 on # XHCI1 controller