summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.usbc
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-07-08 13:39:05 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-08 22:40:56 +0000
commitab89e99cafc7c1f9b0336162b480c77e0a4af96c (patch)
treeee246f566203d9abe56a175e398a7e773c657bd0 /zephyr/Kconfig.usbc
parent42f5279c008f451db480716162d8cc5a657bc93a (diff)
downloadchrome-ec-ab89e99cafc7c1f9b0336162b480c77e0a4af96c.tar.gz
zephyr: add support for CONSOLE_CMD_MFALLOW
Add Kconfig option to control the CONSOLE_CMD_MFALLOW cros-ec option. BUG=b:193159000 BRANCH=none TEST=make buildall TEST=zmake testalll Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I0f9296cfc72d52c26e6d012b5aaf68c449df2669 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3016955 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.usbc')
-rw-r--r--zephyr/Kconfig.usbc10
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/Kconfig.usbc b/zephyr/Kconfig.usbc
index 9e0bb36422..b2d48396fc 100644
--- a/zephyr/Kconfig.usbc
+++ b/zephyr/Kconfig.usbc
@@ -272,6 +272,16 @@ config PLATFORM_EC_USB_PD_PORT_MAX_COUNT
source_enabled[] so that plenty of ports are supported without this
configuration option?
+config PLATFORM_EC_CONSOLE_CMD_MFALLOW
+ bool "Console command: mfallow"
+ default y
+ help
+ Controls whether multi-function support is allowed for DP (Display
+ Port) connections. Default setting allows multi-function support when
+ the attached device also supports multi-function mode.
+
+ mfallow <port> [true | false]
+
config PLATFORM_EC_CONSOLE_CMD_PD
bool "Console command: pd"
default y