summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-06-08 09:28:08 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-06-11 17:29:48 -0700
commit8babd9c4156d02919f4ff943482997497889c76d (patch)
treecae54def68da06ee51017649f05aad032375f632
parent7d36fb8991e7a249ae56db508078480c27914f2e (diff)
downloadchrome-ec-8babd9c4156d02919f4ff943482997497889c76d.tar.gz
bip: set 1.8V mode for i2c bus
The alternate mode for i2c still needs to set the 1.8V flag since it is called when configuring the port initially and when it finishes manually unwedging the port. BRANCH=none BUG=b:109884927 TEST=builds Change-Id: Iac34c413499dfa803b45ec575f0a134774951b6c Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1096019 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
-rw-r--r--board/bip/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bip/gpio.inc b/board/bip/gpio.inc
index 9cb43a5d22..9c78d2e89b 100644
--- a/board/bip/gpio.inc
+++ b/board/bip/gpio.inc
@@ -108,7 +108,7 @@ UNIMPLEMENTED(KB_BL_PWR_EN)
/* Cr50 requires no pull-ups on UART pins. */
ALTERNATE(PIN_MASK(B, 0x03), 0, MODULE_UART, 0) /* UART from EC to Servo */
ALTERNATE(PIN_MASK(B, 0x18), 0, MODULE_I2C, 0) /* I2C0 */
-ALTERNATE(PIN_MASK(C, 0x06), 0, MODULE_I2C, 0) /* I2C1 */
+ALTERNATE(PIN_MASK(C, 0x06), 0, MODULE_I2C, GPIO_SEL_1P8V) /* I2C1 - 1.8V */
ALTERNATE(PIN_MASK(F, 0xC0), 0, MODULE_I2C, 0) /* I2C2 */
ALTERNATE(PIN_MASK(E, 0x81), 0, MODULE_I2C, 0) /* I2C4 */
ALTERNATE(PIN_MASK(A, 0x30), 0, MODULE_I2C, 0) /* I2C5 */