summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2021-12-01 09:49:03 +1100
committerCommit Bot <commit-bot@chromium.org>2021-12-01 01:11:44 +0000
commitf98afa502cc6c4c56058b2829a6e6f70aec7caf9 (patch)
tree87df487e33378065600ce63d94b1bf4846d1f2ed
parent601fbbbc44194f2a76e15e68fabd908d8fa79e1a (diff)
downloadchrome-ec-f98afa502cc6c4c56058b2829a6e6f70aec7caf9.tar.gz
dooly: fix incorrect I2C data pin mappings
The data lines defined for the I2C buses associated with USB-C port 1 seem to have been copied from port 0 and while the clock line pins were updated, the data lines were not. This change corrects the data lines to refer to the correct pins. BUG=b:208485991 TEST=builds BRANCH=none Signed-off-by: Peter Marheine <pmarheine@chromium.org> Change-Id: Ic093e9a4c305cef5e8b5661e8443adf90d1faa7b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3306767 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Andrew McRae <amcrae@google.com>
-rw-r--r--board/dooly/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/dooly/board.c b/board/dooly/board.c
index 8d8f1062e9..064c44a857 100644
--- a/board/dooly/board.c
+++ b/board/dooly/board.c
@@ -551,7 +551,7 @@ const struct i2c_port_t i2c_ports[] = {
.port = I2C_PORT_PPC1,
.kbps = 400,
.scl = GPIO_I2C2_SCL,
- .sda = GPIO_I2C1_SDA
+ .sda = GPIO_I2C2_SDA
},
{
.name = "tcpc0",
@@ -565,7 +565,7 @@ const struct i2c_port_t i2c_ports[] = {
.port = I2C_PORT_TCPC1,
.kbps = 400,
.scl = GPIO_I2C4_SCL,
- .sda = GPIO_I2C3_SDA
+ .sda = GPIO_I2C4_SDA
},
{
.name = "power",