diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-10-02 17:03:01 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-03 00:51:53 -0700 |
commit | e498de6ad69e94d4de4bf3d3c69d0568047f65be (patch) | |
tree | d816a53ae6ab720c4fa95a760c81ec070b43f266 | |
parent | 939d07fc4e5e7eee8e493c5edbae6053ee05668e (diff) | |
download | chrome-ec-stabilize-7520.49.B.tar.gz |
pdeval-stm32f072: Document pd swap commandsstabilize-7520.67.Bstabilize-7520.63.Bstabilize-7520.49.Brelease-R47-7520.B
BUG=None
TEST=None
BRANCH=None
Change-Id: I711c89d47e613c6a15531d3b751cb01f5acb4225
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/303935
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/pdeval-stm32f072/PD_evaluation.md | 6 |
1 files 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 <port> state` Print PD protocol state information -- `i2cscan` Scan i2c bus for any responsive devices -- `i2cxfer` Perform an i2c transaction +- `pd <port> swap data` Request data role swap on port +- `pd <port> 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 : |