zephyr/scripts/generate_usb_vif/constants/vif_element_constants.py

30 lines
1013 B
Python

#!/usr/bin/env python3
# Copyright (c) 2022 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
"""This file contains VIF element constants defined to be used by generate_vif.py"""
VENDOR_NAME = "Vendor_Name"
MODEL_PART_NUMBER = "Model_Part_Number"
PRODUCT_REVISION = "Product_Revision"
TID = "TID"
VIF_PRODUCT_TYPE = "VIF_Product_Type"
CERTIFICATION_TYPE = "Certification_Type"
COMPONENT = "Component"
USB_PD_SUPPORT = "USB_PD_Support"
PD_PORT_TYPE = "PD_Port_Type"
TYPE_C_STATE_MACHINE = "Type_C_State_Machine"
SINK_PDO = "SnkPDO"
SINK_PDO_SUPPLY_TYPE = "Snk_PDO_Supply_Type"
SINK_PDO_VOLTAGE = "Snk_PDO_Voltage"
SINK_PDO_OP_CURRENT = "Snk_PDO_Op_Current"
SINK_PDO_OP_POWER = "Snk_PDO_Op_Power"
SINK_PDO_MIN_VOLTAGE = "Snk_PDO_Min_Voltage"
SINK_PDO_MAX_VOLTAGE = "Snk_PDO_Max_Voltage"
PD_POWER_AS_SINK = "PD_Power_As_Sink"
HIGHER_CAPABILITY_SET = "Higher_Capability_Set"
FR_SWAP_REQD_TYPE_C_CURRENT_AS_INITIAL_SOURCE = "FR_Swap_Reqd_Type_C_Current_As_Initial_Source"
NUM_SNK_PDOS = "Num_Snk_PDOs"