summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElsie Shih <elsie_shih@wistron.corp-partner.google.com>2022-10-20 14:00:45 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-24 03:41:00 +0000
commit0bcc79f4ba3517488c0e7c35cd1138eacfdd500f (patch)
tree9a1a1ef2b4f7e2d531d81171a2a4552f6e0ca0db
parent8d889f297cb1d230e92042bfe8dce63135d8e14b (diff)
downloadchrome-ec-0bcc79f4ba3517488c0e7c35cd1138eacfdd500f.tar.gz
moli: add genvif overrides
Using VifEditorRelease_v3.4.0.0 to validate the resulting VIF file. List all changes for moli - Add USB4™ Product (USB4 Router 0/ 1) - Add USB4™ Port - Host_Speed to USB 3.2 Gen 2x1 - Host_Contains_Captive_Retimer to true - Host_Truncates_DP_For_tDHPResponse to false - Host_Suspend_Supported to true - Product_Type_UFP_SOP to PSD - Product_Type_DFP_SOP to PDUSB Host - Add SOP Modes BUG=b:254579518 BRANCH=none TEST=make BOARD=moli Signed-off-by: Elsie Shih <elsie_shih@wistron.corp-partner.google.com> Change-Id: I1d043014181946cb17338cf2947db307a0dc19b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3967910 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
-rw-r--r--board/moli/vif_override.xml126
1 files changed, 126 insertions, 0 deletions
diff --git a/board/moli/vif_override.xml b/board/moli/vif_override.xml
index 32736caf64..9fc397cd40 100644
--- a/board/moli/vif_override.xml
+++ b/board/moli/vif_override.xml
@@ -1,3 +1,129 @@
<!-- 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>
+ <!--Product Level Content:-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;USB4™ Product-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:USB4_Num_Internal_Host_Controllers value="1" />
+ <vif:USB4_Num_PCIe_DN_Bridges value="0" />
+ <!--Bundle: USB4RouterList-->
+ <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="17982">463E</vif:USB4_PCIe_Switch_Device_ID>
+ </vif:Usb4Router>
+ </vif:USB4RouterList>
+ </vif:Product>
+ <vif:Component>
+ <!--Component 0: Port 0-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;USB4™ Port-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:USB4_Lane_0_Adapter value="1" />
+ <vif:USB4_Max_Speed value="1">Gen 3 (40Gb)</vif:USB4_Max_Speed>
+ <vif:USB4_DFP_Supported value="true" />
+ <vif:USB4_UFP_Supported value="false" />
+ <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>
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;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-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:USB_Suspend_May_Be_Cleared value="true" />
+ <vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink value="3">3A @ 5V</vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink>
+ <!--Bundle: SrcPdoList-->
+ <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>
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;Dual Role-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:FR_Swap_Supported_As_Initial_Sink value="true" />
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;SOP Discover ID-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:Product_Type_UFP_SOP value="3">PSD</vif:Product_Type_UFP_SOP>
+ <vif:Product_Type_DFP_SOP value="2">PDUSB Host</vif:Product_Type_DFP_SOP>
+ </vif:Component>
+ <vif:Component>
+ <!--Component 1: Port 1-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;USB4™ Port-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:USB4_Lane_0_Adapter value="1" />
+ <vif:USB4_Max_Speed value="1">Gen 3 (40Gb)</vif:USB4_Max_Speed>
+ <vif:USB4_DFP_Supported value="true" />
+ <vif:USB4_UFP_Supported value="false" />
+ <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>
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;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-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:USB_Suspend_May_Be_Cleared value="true" />
+ <vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink value="3">3A @ 5V</vif:FR_Swap_Type_C_Current_Capability_As_Initial_Sink>
+ <!--Bundle: SrcPdoList-->
+ <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>
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;Dual Role-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:FR_Swap_Supported_As_Initial_Sink value="true" />
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <!--;SOP Discover ID-->
+ <!--;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-->
+ <vif:Product_Type_UFP_SOP value="3">PSD</vif:Product_Type_UFP_SOP>
+ <vif:Product_Type_DFP_SOP value="2">PDUSB Host</vif:Product_Type_DFP_SOP>
+ </vif:Component>
+</vif:VIF>