summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.pd
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.pd')
-rw-r--r--zephyr/Kconfig.pd19
1 files changed, 19 insertions, 0 deletions
diff --git a/zephyr/Kconfig.pd b/zephyr/Kconfig.pd
index bd50d64c43..68ecfe78e6 100644
--- a/zephyr/Kconfig.pd
+++ b/zephyr/Kconfig.pd
@@ -32,6 +32,7 @@ config PLATFORM_EC_USB_PD_HOST_CMD
config PLATFORM_EC_CONSOLE_CMD_MFALLOW
bool "Console command: mfallow"
default y
+ depends on CONFIG_USB_PD_DP_MODE
help
Controls whether multi-function support is allowed for DP (Display
Port) connections. Default setting allows multi-function support when
@@ -224,6 +225,7 @@ config PLATFORM_EC_USB_PD_VDM_AP_CONTROL
config PLATFORM_EC_USB_PD_ALT_MODE_DFP
bool "Downward Facing Port support"
default y
+ depends on PLATFORM_EC_USB_PD_DISCOVERY
help
Enable support for USB Power Delivery alternate mode of Downward
Facing Port.
@@ -242,6 +244,14 @@ config PLATFORM_EC_USB_PD_ALT_MODE_UFP
USB4 and ThunderBolt operation when the Chromium OS data role
resolves to the UFP role.
+config PLATFORM_EC_USB_PD_DISCOVERY
+ bool "Enable EC to direct Discover VDMs"
+ default y
+ help
+ This enables support for the EC probing and storing the various
+ partner discovery messages (DiscoverIdentity, DiscoverModes,
+ DiscoverSVIDs).
+
config PLATFORM_EC_USB_PD_USB32_DRD
bool "Port is capable of operating as a USB3.2 device"
default n
@@ -376,6 +386,15 @@ config PLATFORM_EC_USB_PD_TRY_SRC
for laptops, for example, since when attaching to a cellphone we want
the laptop to charge the phone, not vice versa.
+config PLATFORM_EC_USB_PD_DP_MODE
+ bool "EC-driven DP support"
+ depends on !PLATFORM_EC_USB_PD_VDM_AP_CONTROL
+ default y
+ help
+ This enables support for entering DisplayPort alternate mode as a
+ DFP from the Embedded Controller directly. This flag gates all the
+ on-EC logic for determining specifics such as VDM contents.
+
config PLATFORM_EC_USB_PD_USB4
bool "USB4 support"
depends on PLATFORM_EC_USB_PD_REV30