diff options
author | Scott Chao <scott_chao@wistron.corp-partner.google.com> | 2022-03-25 09:37:43 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-03-25 05:33:58 +0000 |
commit | 9583729c35b2e7970a6ec10ca86bd108862bd2e1 (patch) | |
tree | 4870ce271f12c0e73892f5388c1a8bc3f3e6a7e8 | |
parent | ddc0ec281948fcfb0c6e9b5f61ac6bc2a5c3e3f6 (diff) | |
download | chrome-ec-9583729c35b2e7970a6ec10ca86bd108862bd2e1.tar.gz |
primus: Add genvif overrides
This adds VIF overrides to describe brya's USB setup. The override
values are largely based on
- Add Port1 USB4 Port support
- Remove Port2 related component
BUG=b:214339085
BRANCH=none
TEST=make -j BOARD=primus
imported resulting build/primus/primus_vif.xml into VifEditor
3.2.3.0. there were no highlighted (error) fields.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: Ife290a0f4813cbc0a8bb0310a81be09e39b91916
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3552001
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: caveh jalali <caveh@chromium.org>
-rw-r--r-- | board/primus/vif_override.xml | 120 |
1 files changed, 117 insertions, 3 deletions
diff --git a/board/primus/vif_override.xml b/board/primus/vif_override.xml index 32736caf64..18fe57f3e6 100644 --- a/board/primus/vif_override.xml +++ b/board/primus/vif_override.xml @@ -1,3 +1,117 @@ -<!-- Add VIF field overrides here. See genvif.c and the Vendor Info File - Definition from the USB-IF. ---> +<?xml version="1.0" encoding="utf-8"?> +<vif:VIF xmlns="http://usb.org/VendorInfoFile.xsd"> + <vif:Product_Revision>2</vif:Product_Revision> + <vif:TID>0</vif:TID> + <vif:Product> + <vif:USB4_Num_Internal_Host_Controllers value="1" /> + <vif:USB4_Num_PCIe_DN_Bridges value="0" /> + <vif:USB4RouterList> + <vif:Usb4Router> + <!--USB4 Router 0--> + <vif:USB4_Router_ID value="0" /> + <vif:USB4_Silicon_VID value="32903">8087</vif:USB4_Silicon_VID> + <vif:USB4_Num_Lane_Adapters value="4" /> + <vif:USB4_Num_USB3_DN_Adapters value="1" /> + <vif:USB4_Num_DP_IN_Adapters value="1" /> + <vif:USB4_Num_DP_OUT_Adapters value="0" /> + <vif:USB4_Num_PCIe_DN_Adapters value="4" /> + <vif:USB4_TBT3_Not_Supported value="0">TBT3 Compatible</vif:USB4_TBT3_Not_Supported> + <vif:USB4_PCIe_Wake_Supported value="true" /> + <vif:USB4_USB3_Wake_Supported value="false" /> + <vif:USB4_Num_Unused_Adapters value="0" /> + <vif:USB4_TBT3_VID value="32903">8087</vif:USB4_TBT3_VID> + <vif:USB4_PCIe_Switch_Vendor_ID value="32902">8086</vif:USB4_PCIe_Switch_Vendor_ID> + <vif:USB4_PCIe_Switch_Device_ID value="39451">9A1B</vif:USB4_PCIe_Switch_Device_ID> + </vif:Usb4Router> + </vif:USB4RouterList> + </vif:Product> + + <vif:Component> + <vif:USB4_Max_Speed value="1">Gen 3 (40Gb)</vif:USB4_Max_Speed> + + <!--;USB Host--> + + <vif:Host_Speed value="2">USB 3.2 Gen 2x1</vif:Host_Speed> + <vif:Host_Contains_Captive_Retimer value="true" /> + <vif:Host_Truncates_DP_For_tDHPResponse value="false" /> + <vif:Host_Suspend_Supported value="true" /> + + <!--;PD Source--> + <!-- will we ever clear USB_Suspend_Supported? --> + <vif:USB_Suspend_May_Be_Cleared value="true" /> + + <!-- remove FR_Swap_* when we enable CONFIG_USB_PD_FRS --> + <!--;Dual Role--> + <vif:FR_Swap_Supported_As_Initial_Sink value="true" /> + <!--;PD Source--> + <vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink value="3">3A @ 5V</vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink> + <vif:SrcPdoList> + <vif:SrcPDO> + <!--Source PDO 1--> + <vif:Src_PD_OCP_OC_Debounce value="50">50 msec</vif:Src_PD_OCP_OC_Debounce> + <vif:Src_PD_OCP_OC_Threshold value="360">3600 mA</vif:Src_PD_OCP_OC_Threshold> + </vif:SrcPDO> + </vif:SrcPdoList> + + <!-- SOP Discover ID --> + <vif:Product_Type_UFP_SOP value="2">PDUSB Peripheral</vif:Product_Type_UFP_SOP> + <vif:Product_Type_DFP_SOP value="2">PDUSB Host</vif:Product_Type_DFP_SOP> + + <!-- USB4 Port --> + <vif:USB4_Lane_0_Adapter value="1" /> + <vif:USB4_UFP_Supported value="false" /> + <vif:USB4_DFP_Supported value="true" /> + <vif:USB4_USB3_Tunneling_Supported value="true" /> + <vif:USB4_DP_Tunneling_Supported value="true" /> + <vif:USB4_CL1_State_Supported value="true" /> + <vif:USB4_CL2_State_Supported value="true" /> + <vif:USB4_Num_Retimers value="1" /> + <vif:USB4_DP_Bit_Rate value="3">HBR3</vif:USB4_DP_Bit_Rate> + <vif:USB4_Num_DP_Lanes value="4">4 Lanes</vif:USB4_Num_DP_Lanes> + + </vif:Component> + + <vif:Component> + <vif:USB4_Max_Speed value="1">Gen 3 (40Gb)</vif:USB4_Max_Speed> + + <!--;USB Host--> + <vif:Host_Speed value="2">USB 3.2 Gen 2x1</vif:Host_Speed> + <vif:Host_Contains_Captive_Retimer value="true" /> + <vif:Host_Truncates_DP_For_tDHPResponse value="false" /> + <vif:Host_Suspend_Supported value="true" /> + + <!--;PD Source--> + <!-- will we ever clear USB_Suspend_Supported? --> + <vif:USB_Suspend_May_Be_Cleared value="true" /> + + <!-- remove FR_Swap_* when we enable CONFIG_USB_PD_FRS --> + <!--;Dual Role--> + <vif:FR_Swap_Supported_As_Initial_Sink value="true" /> + <!--;PD Source--> + <vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink value="3">3A @ 5V</vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink> + <vif:SrcPdoList> + <vif:SrcPDO> + <!--Source PDO 1--> + <vif:Src_PD_OCP_OC_Debounce value="50">50 msec</vif:Src_PD_OCP_OC_Debounce> + <vif:Src_PD_OCP_OC_Threshold value="360">3600 mA</vif:Src_PD_OCP_OC_Threshold> + </vif:SrcPDO> + </vif:SrcPdoList> + + <!-- SOP Discover ID --> + <vif:Product_Type_UFP_SOP value="2">PDUSB Peripheral</vif:Product_Type_UFP_SOP> + <vif:Product_Type_DFP_SOP value="2">PDUSB Host</vif:Product_Type_DFP_SOP> + + <!-- USB4 Port --> + <vif:USB4_Lane_0_Adapter value="1" /> + <vif:USB4_UFP_Supported value="false" /> + <vif:USB4_DFP_Supported value="true" /> + <vif:USB4_USB3_Tunneling_Supported value="true" /> + <vif:USB4_DP_Tunneling_Supported value="true" /> + <vif:USB4_CL1_State_Supported value="true" /> + <vif:USB4_CL2_State_Supported value="true" /> + <vif:USB4_Num_Retimers value="1" /> + <vif:USB4_DP_Bit_Rate value="3">HBR3</vif:USB4_DP_Bit_Rate> + <vif:USB4_Num_DP_Lanes value="4">4 Lanes</vif:USB4_Num_DP_Lanes> + + </vif:Component> +</vif:VIF> |