diff options
author | Michał Barnaś <mb@semihalf.com> | 2021-07-13 18:29:46 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-16 18:19:09 +0000 |
commit | ef75b89e05691b1a5a60d2f265a707f9966293e7 (patch) | |
tree | 1921798a4509d61bb1876a3c3de3c59cd28d8c73 /zephyr/boards/arm/kohaku/Kconfig.defconfig | |
parent | 6e4ed0664ef649b0170894cc2ac1a738d3673ce1 (diff) | |
download | chrome-ec-ef75b89e05691b1a5a60d2f265a707f9966293e7.tar.gz |
TCPMv2: Add delay for detecting CC state in tc_attached_src state
Some TCPCs require time to return correct status of CC lines after
changing ROLE_CONTROL register. If no delay is applied, these TCPCs
can incorrectly report CC lines as open which result in changing
state to Unattached.Src. This makes power swap not working.
For lazor board it takes about 8ms to detect correct values on CC
lines, where maximum time from specification is 20ms.
Considering this, value of 15ms was set as delay.
BUG=b:192353324
BRANCH=main
TEST=Running PD FAFTs on lazor gives positive results
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Change-Id: I25937fcd996d5a67b4acb1833b07c80c395e66b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3024268
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'zephyr/boards/arm/kohaku/Kconfig.defconfig')
0 files changed, 0 insertions, 0 deletions