From ba37b94e8e7819913a53b62143ee1e7fb897592e Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 16 Dec 2019 23:19:29 -0700 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/1970655 Reviewed-by: Daniel Kurtz Reviewed-on: https://review.coreboot.org/c/coreboot/+/39588 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/i2c/designware/dw_i2c.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ -213,6 +213,13 @@ static const struct soc_clock { .ns = 3000, }, }, + { + .clk_speed_mhz = 150, + .freq = { + .ticks = 600, + .ns = 4000, + }, + }, { .clk_speed_mhz = 216, .freq = {