summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2019-12-16 23:19:29 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-03-17 22:47:04 +0000
commitba37b94e8e7819913a53b62143ee1e7fb897592e (patch)
treea1b4d78226947df66c35c8a9fbbc4131091fd534 /src/drivers/i2c
parentf3f36faf352c72d793899a8b0dce60423a7480fa (diff)
downloadcoreboot-ba37b94e8e7819913a53b62143ee1e7fb897592e.tar.xz
drivers/i2c/designware: Add 150MHz clock speed
BUG=b:143885765 TEST=I2C clock speed on trembyle is 400kHz Change-Id: I50e904822823a6fc173d4d4b76f0882b4ce81ae8 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1970655 Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39588 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/designware/dw_i2c.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/i2c/designware/dw_i2c.c b/src/drivers/i2c/designware/dw_i2c.c
index 9eda827f30..5e57e5a5a6 100644
--- a/src/drivers/i2c/designware/dw_i2c.c
+++ b/src/drivers/i2c/designware/dw_i2c.c
@@ -214,6 +214,13 @@ static const struct soc_clock {
},
},
{
+ .clk_speed_mhz = 150,
+ .freq = {
+ .ticks = 600,
+ .ns = 4000,
+ },
+ },
+ {
.clk_speed_mhz = 216,
.freq = {
.ticks = 1080,