diff options
author | Scott Collyer <scollyer@google.com> | 2020-12-18 04:45:20 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-17 04:55:56 +0000 |
commit | 3a5b578c6ddd0702eb375a2e47aa06e4b81d5ac7 (patch) | |
tree | 2258246dddf654d781e692fee9ba1fbf4c0c8e5b /driver/retimer/nb7v904m.h | |
parent | 20cdba49156ff4d8c1f6406d221e6f1f8f82b09b (diff) | |
download | chrome-ec-3a5b578c6ddd0702eb375a2e47aa06e4b81d5ac7.tar.gz |
TCPMv2: Add common hpd->dp_atten converter
This CL adds a new file for UFP_D ports. The inclusion of this file is
controlled via a new config option CONFIG_USB_PD_ALT_MODE_UFP. Note
that this is not intended to be used with TCPMv1 UFP_D legacy devices.
The initial version of this file includes the hpd to usb pd
DP_ATTENTION message converter. The implementation follows the spec in
terms of both states and hpd event queueing rules.
BUG=b:175660576
BRANCH=None
TEST=Tested further down the CL stack. But verified that this CL fixes
the issue where too many hpd_irq messages are sent with gingerbread
which was causing a port part reset for chromebook ports.
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I5c7f4a3d226eb7b33553c90f04c69c3d80bd8672
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2598028
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'driver/retimer/nb7v904m.h')
0 files changed, 0 insertions, 0 deletions