diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-06-23 16:47:57 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-24 23:13:28 +0000 |
commit | cbb79c255806d25e7d6c6d0f36597cd48caf6710 (patch) | |
tree | 6d1ad8d7a74a0757bc665c85bf819dd1f95f9047 /board/pdeval-stm32f072/PD_evaluation.md | |
parent | 564256d2eeb40e63e400ddea0a27489ca4947da1 (diff) | |
download | chrome-ec-cbb79c255806d25e7d6c6d0f36597cd48caf6710.tar.gz |
pd: create driver/tcpm/ to hold TCPM drivers
Create driver/tcpm/ folder to hold TCPM drivers. Currently the
two drivers are a stub driver which is used when TCPM and TCPC
are on the same MCU and can make direct calls between the two
and the TCPCI driver which implements the standard TCPCI protocol.
BUG=chrome-os-partner:41842
BRANCH=none
TEST=make -j buildall
Change-Id: Ie4d9b36eb33155254f8b87b83861f98a7a80693a
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/281630
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/pdeval-stm32f072/PD_evaluation.md')
-rw-r--r-- | board/pdeval-stm32f072/PD_evaluation.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/pdeval-stm32f072/PD_evaluation.md b/board/pdeval-stm32f072/PD_evaluation.md index 1b47e02d4f..6c38ee457a 100644 --- a/board/pdeval-stm32f072/PD_evaluation.md +++ b/board/pdeval-stm32f072/PD_evaluation.md @@ -3,7 +3,7 @@ USB PD chip evaluation configuration This board configuration implements a USB Power Delivery TCPM in order to evaluate various TCPC chips. -The code tries to follow the preliminary USB PD interface standard but for TCPC chip implementing proprietary I2C protocol, a new TCPM file can be implemented as explained in the [Updating the code](#Updating the code) section below. +The code tries to follow the preliminary USB PD interface standard but for TCPC chip implementing proprietary I2C protocol, a new TCPM file can be implemented as explained in the [Updating the code](#Updating-the-code) section below. Building -------- @@ -26,7 +26,7 @@ Updating the code ### TCPC Communication code -Please duplicate [`common/usb_pd_tcpm.c`](../../common/usb_pd_tcpm.c) into `common/usb_pd_tcpm_<vendor>.c`. +Please duplicate [driver/tcpm/tcpci.c](../../driver/tcpm/tcpci.c) into **driver/tcpm/<vendor>.c**. Then update the control logic through I2C there. ### Board configuration |