diff options
author | Ruibin Chang <ruibin.chang@ite.com.tw> | 2020-08-20 18:08:32 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-28 05:51:08 +0000 |
commit | 2923d8362ea52ae0147ccdad39230d4520b58ab2 (patch) | |
tree | 4f1759d14d074b529ee5ea722565e863b176187d /board/fennel | |
parent | ea08c0c51c47160408237a1c568f75d832e5ecbd (diff) | |
download | chrome-ec-2923d8362ea52ae0147ccdad39230d4520b58ab2.tar.gz |
driver/it83xx, it8xxx2.c: add auto toggle option
ITE embedded TCPC doesn't support HW auto toggle, but stand alone TCPC
needs the config, so I let function pointer point to NULL, then this
port won't transit to TC_DRP_AUTO_TOGGLE state, if
CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE is defined.
BUG=none
BRANCH=none
TEST=on board drawcia and it81202_pdevb:
When CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE is defined,
ITE ports cc are toggled by TCPM switch unattach.SNK/SRC state
in TCPMv2.
Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
Change-Id: I5c6cd337c7e91c4af7d408d5e631dc74d71de77a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2366417
Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/fennel')
0 files changed, 0 insertions, 0 deletions