From 0dde6ad4432d3381d427702b683bf2055eba3e3e Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Thu, 17 Sep 2015 18:52:14 -0700 Subject: [PATCH] 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 Change-Id: I7c78dc5f915126bb61cf27543ea1626c831e5981 Reviewed-on: https://chromium-review.googlesource.com/300643 Commit-Ready: Shawn N Tested-by: Ryan Lin Tested-by: Shawn N Reviewed-by: Alec Berg --- board/glados/board.h | 5 ++--- 1 file 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