diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2020-02-11 12:48:46 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-12 20:05:34 +0000 |
commit | 0c2d07061c82d718288dbc287ca56b17da2206f9 (patch) | |
tree | 51529bc2c06549f5c82037809c530fc1aac23d9d /include | |
parent | b7f0b4cd0cd42319d204ac653224f3661a463237 (diff) | |
download | chrome-ec-0c2d07061c82d718288dbc287ca56b17da2206f9.tar.gz |
TCPMv1/v2: Move pd_process_source_cap() to common file
BUG=b:148528713
BRANCH=none
TEST=make buildall -j
Change-Id: I6bd6b5875a322ca4ba6d77a4cfc96a72630e5f5c
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2051220
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_pd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 7e3ad705df..1d75abf638 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -2398,6 +2398,16 @@ const uint32_t * const pd_get_src_caps(int port); uint8_t pd_get_src_cap_cnt(int port); /** + * Set the source caps list & count + * + * @param port USB-C port number + * @param cnt Source caps count + * @param src_caps Pointer to source caps + * + */ +void pd_set_src_caps(int port, int cnt, uint32_t *src_caps); + +/** * Return true if partner port is capable of communication over USB data * lines. * |