summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2015-09-17 18:52:14 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-24 21:08:36 -0700
commit0dde6ad4432d3381d427702b683bf2055eba3e3e (patch)
tree2f728744f3f2d4b2d0236c8687fcd2f8a22f3490
parentbd34af5d78fc7e674af7fef9f1c6e2388e1295bc (diff)
downloadchrome-ec-0dde6ad4432d3381d427702b683bf2055eba3e3e.tar.gz
glados: Swap pericom usb2 charge detector ports
Swap the charge detector i2c ports since the association between pericom chips and ports seems backward. BUG=chrome-os-partner:45118 TEST=Plug usb2 keyboard into usb-c port through A-C adapter, verify keyboard is functional. BRANCH=None Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I7c78dc5f915126bb61cf27543ea1626c831e5981 Reviewed-on: https://chromium-review.googlesource.com/300643 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Ryan Lin <ryan.lin@intel.com> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r--board/glados/board.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/glados/board.h b/board/glados/board.h
index 28b4874520..6561a97793 100644
--- a/board/glados/board.h
+++ b/board/glados/board.h
@@ -99,10 +99,9 @@
/* I2C ports */
#define I2C_PORT_PMIC MEC1322_I2C0_0
-/* TODO(shawnn): Verify that the charge detectors aren't swapped */
-#define I2C_PORT_USB_CHARGER_1 MEC1322_I2C0_0
+#define I2C_PORT_USB_CHARGER_1 MEC1322_I2C0_1
#define I2C_PORT_USB_MUX MEC1322_I2C0_1
-#define I2C_PORT_USB_CHARGER_2 MEC1322_I2C0_1
+#define I2C_PORT_USB_CHARGER_2 MEC1322_I2C0_0
#define I2C_PORT_PD_MCU MEC1322_I2C1
#define I2C_PORT_TCPC MEC1322_I2C1
#define I2C_PORT_ALS MEC1322_I2C2