summaryrefslogtreecommitdiff
path: root/common/usb_pd_dual_role.c
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@google.com>2020-10-30 09:45:14 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-30 22:01:39 +0000
commit40c29ee74d2f581c93c75ba3077718481981859f (patch)
treedc3ce9afe8d2e0d18ef614ae2163e7ae7aab3c78 /common/usb_pd_dual_role.c
parent27a9fc47a2dbe382164e6c520ff7c516199f131c (diff)
downloadchrome-ec-40c29ee74d2f581c93c75ba3077718481981859f.tar.gz
TCPMv2: Add allow_list for partners that didn't set UP but should have
Added three additional monitors and renamed the defines to tell what the PID is. BUG=b:171013724 BRANCH=zork TEST=connect new devices and make sure they source us Signed-off-by: Denis Brockus <dbrockus@google.com> Change-Id: Iaf18d6aaad40ff5ac8d8bb57bc2568a9256712bb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2509974 Commit-Queue: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org> Tested-by: Denis Brockus <dbrockus@chromium.org> Auto-Submit: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'common/usb_pd_dual_role.c')
-rw-r--r--common/usb_pd_dual_role.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/usb_pd_dual_role.c b/common/usb_pd_dual_role.c
index fbcf5e23f1..52b7cdd4e1 100644
--- a/common/usb_pd_dual_role.c
+++ b/common/usb_pd_dual_role.c
@@ -35,9 +35,12 @@ struct allow_list_pair {
static struct allow_list_pair allow_list[] = {
{USB_VID_APPLE, USB_PID1_APPLE},
{USB_VID_APPLE, USB_PID2_APPLE},
- {USB_VID_HP, USB_PID1_HP},
- {USB_VID_HP, USB_PID2_HP},
- {USB_VID_HP, USB_PID3_HP},
+ {USB_VID_HP, USB_PID_HP_USB_C_DOCK_G5},
+ {USB_VID_HP, USB_PID_HP_USB_C_A_UNIV_DOCK_G2},
+ {USB_VID_HP, USB_PID_HP_E24D_DOCK_MONITOR},
+ {USB_VID_HP, USB_PID_HP_ELITE_E233_MONITOR},
+ {USB_VID_HP, USB_PID_HP_E244D_DOCK_MONITOR},
+ {USB_VID_HP, USB_PID_HP_E274D_DOCK_MONITOR},
};
static int allow_list_count = ARRAY_SIZE(allow_list);