diff options
author | Denis Brockus <dbrockus@google.com> | 2020-10-21 14:47:46 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-22 06:43:08 +0000 |
commit | 3c75f4bd8c44b4ccf2971e18c5d8f1a5d596dffa (patch) | |
tree | 32c140a7f2587bb7c8ee0ec64e5769c4508ed2b9 /include/usb_pd.h | |
parent | 4fd0b5f12d0e4ab39c06b92f35ea5ddb194c1c8a (diff) | |
download | chrome-ec-3c75f4bd8c44b4ccf2971e18c5d8f1a5d596dffa.tar.gz |
TCPMv2: Create charge allow_list and add devices
The charge allow_list is for partner devices that
do not advertise Unconstrained Power in their
SRC_Caps but we should still charge from them
if they are the SRC.
The allow_list should be constrained to partners
that perform dual role and do not present
Unconstrained Power in their SRC_Caps. It is
preferred for the partner to send this
correctly but for products that are already out
in the wild, it may be a really bad user
experience for this to fail.
BUG=b:170644500,b:170848849,b:170970249
BRANCH=zork
TEST=connect E24d monitor and verify it charges DUT
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: Ib4f2c62af3bb2c1ed066ea4353ec26cd536a4c26
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2490729
Tested-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r-- | include/usb_pd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 06a04b2103..df5f785135 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -775,6 +775,12 @@ struct pd_cable { #define USB_VID_APPLE 0x05ac #define USB_PID1_APPLE 0x1012 #define USB_PID2_APPLE 0x1013 + +#define USB_VID_HP 0x03F0 +#define USB_PID1_HP 0x0467 /* E24d monitor */ +#define USB_PID2_HP 0x096B /* USB-C/A Univ Dock G2 */ +#define USB_PID3_HP 0x036B /* USB-C Dock G5 */ + #define USB_VID_INTEL 0x8087 /* Timeout for message receive in microseconds */ |