From 82a357a385f9eee75bfbca9911e404d54b0c3217 Mon Sep 17 00:00:00 2001 From: Dylan Lai Date: Fri, 9 Mar 2018 13:54:08 +0800 Subject: TCPM: Add TCPM driver for Analogix anx7447 chip Driver implements TCPC for ANX7447 chip. Enable Type C port for USB and DP alt mode. BUG=b:73793947 BRANCH=NONE TEST=tested compiled binary for pdeval-stm32f072 board with this patch. Power contract establishment, port role swap, DP alt mode works fine. Change-Id: Ic11e499fc5fb4aba7732c75e4cb2fee54828c616 Reviewed-on: https://chromium-review.googlesource.com/956790 Commit-Ready: Scott Collyer Tested-by: Scott Collyer Reviewed-by: Scott Collyer --- board/pdeval-stm32f072/gpio.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/pdeval-stm32f072/gpio.inc') diff --git a/board/pdeval-stm32f072/gpio.inc b/board/pdeval-stm32f072/gpio.inc index cd3c601a0a..f71d69441e 100644 --- a/board/pdeval-stm32f072/gpio.inc +++ b/board/pdeval-stm32f072/gpio.inc @@ -16,6 +16,9 @@ GPIO(LED_U, PIN(C, 6), GPIO_OUT_LOW) GPIO(LED_D, PIN(C, 7), GPIO_OUT_LOW) GPIO(LED_L, PIN(C, 8), GPIO_OUT_LOW) GPIO(LED_R, PIN(C, 9), GPIO_OUT_LOW) +GPIO(USB_C0_DVDDIO, PIN(C, 14), GPIO_OUT_HIGH) +GPIO(USB_C0_AVDD33, PIN(C, 15), GPIO_OUT_HIGH) +GPIO(VBUS_PMIC_CTRL, PIN(A, 4), GPIO_OUT_LOW) /* * I2C pins should be configured as inputs until I2C module is -- cgit v1.2.1