summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-07-08 14:11:32 -0600
committerCommit Bot <commit-bot@chromium.org>2019-07-09 17:20:41 +0000
commit857e3c94d346bb78ff1cfadecef9749f921b6b35 (patch)
tree64935ffe19ba4dbdd995a595be873f36df1dd6fe
parent18244d452469b5e890523f24767fba63db5cbf8d (diff)
downloadchrome-ec-stabilize-12239.92.B.tar.gz
The sensors on the i2c line do not operate reliably at 1Mhz i2c bus speed. Lower to 400kHz BRANCH=75,76 BUG=b:136676970 TEST=verify that i2c bus speed when from ~1Mhz to ~400kHz after this change with an oscilloscope. Change-Id: Ie970f76fe7408de17f92bfc9f22a951b635fd278 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1691309 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> (cherry picked from commit 48765c68fc17b84902afc0a3bd5926e5721e669f) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1693124
-rw-r--r--board/arcada_ish/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/arcada_ish/board.c b/board/arcada_ish/board.c
index 8d1566723e..c80e070647 100644
--- a/board/arcada_ish/board.c
+++ b/board/arcada_ish/board.c
@@ -26,7 +26,7 @@ const struct i2c_port_t i2c_ports[] = {
{
.name = "sensor",
.port = I2C_PORT_SENSOR,
- .kbps = 1000
+ .kbps = 400,
},
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);