From e498de6ad69e94d4de4bf3d3c69d0568047f65be Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Fri, 2 Oct 2015 17:03:01 -0700 Subject: pdeval-stm32f072: Document pd swap commands BUG=None TEST=None BRANCH=None Change-Id: I711c89d47e613c6a15531d3b751cb01f5acb4225 Signed-off-by: Shawn Nematbakhsh Reviewed-on: https://chromium-review.googlesource.com/303935 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Shawn N --- board/pdeval-stm32f072/PD_evaluation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/pdeval-stm32f072/PD_evaluation.md b/board/pdeval-stm32f072/PD_evaluation.md index b5d32e008f..b7fec09f35 100644 --- a/board/pdeval-stm32f072/PD_evaluation.md +++ b/board/pdeval-stm32f072/PD_evaluation.md @@ -76,8 +76,10 @@ EC command line commands - `help` List all available EC console commands - `vbus` Toggle VBUS on/off - `pd state` Print PD protocol state information -- `i2cscan` Scan i2c bus for any responsive devices -- `i2cxfer` Perform an i2c transaction +- `pd swap data` Request data role swap on port +- `pd swap power` Request power role swap on port +- `i2cscan` Scan i2c bus for any responsive devices +- `i2cxfer` Perform an i2c transaction On the console, you will the PD state machine transitioning through its states with traces like `C0 st5`. You can always the human readable name of the current state by doing `pd 0 state` returning something like : -- cgit v1.2.1