From 134d740168f602c7c697e5b1975f8a0a591b205d Mon Sep 17 00:00:00 2001 From: Rex Chou Date: Mon, 19 Dec 2022 10:54:35 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71063 Tested-by: build bot (Jenkins) Reviewed-by: John Su Reviewed-by: Martin L Roth Reviewed-by: Eric Lai Reviewed-by: Frank Wu --- src/mainboard/google/skyrim/variants/frostflow/overridetree.cb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mainboard/google/skyrim') 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 -- cgit v1.2.3