diff options
author | udaykiran <udaykiran@google.com> | 2021-06-02 12:12:57 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-02 23:33:01 +0000 |
commit | 65b8e9a2a37b91c47e22151c9438b121d7b02558 (patch) | |
tree | fc489fe4af468e4d7b261a6b4425a94579e42f91 /include/config.h | |
parent | f281dad60e108a5d9d0b6047b4a649af67afaa09 (diff) | |
download | chrome-ec-65b8e9a2a37b91c47e22151c9438b121d7b02558.tar.gz |
DP Altmode DFP: Add `mfallow` command
The USB Type-C Altmode allows for protocols other than USB to be
transferred over a USB connection. Chromebooks use this functionality to
transfer DisplayPort on USB signals. This is achieved through USB-PD
handshake through SVDMs to discover, configure, and to enter or exit Alt
modes. When DisplayPort as an Alt Mode is enabled, allowable
functionalities are:
-- SS and high speed USB functionality and two-lane DP.
-- HS USB functionality and 4-lane DP.
Chromebooks honor Multifunction bit set in the DPStatus message sent by
a dock. However, for development purposes we would like to have control
to honor the MF bit or ignore it, there by achieving 2-lane DP vs 4-lane
DP functionality. 4-lane DP functionality is required to test higher
resolution monitors such as 4k60.
BUG=b:181365633
BRANCH=none
TEST=make BOARD, tested on G5 dock with kindred.
Signed-off-by: udaykiran <udaykiran@google.com>
Change-Id: Icc25f339a78d1423b094d2acf9d586721ec2df46
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2939383
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h index 4fab158063..6405a0b06d 100644 --- a/include/config.h +++ b/include/config.h @@ -1373,9 +1373,9 @@ #undef CONFIG_CMD_BATDEBUG #define CONFIG_CMD_BATTFAKE #undef CONFIG_CMD_BATT_MFG_ACCESS -#define CONFIG_CMD_RETIMER #undef CONFIG_CMD_BUTTON #define CONFIG_CMD_CBI + /* * HAS_TASK_CHIPSET implies the GSC presence. * HAS_TASK_CONSOLE means UART console enabled. @@ -1435,6 +1435,7 @@ #undef CONFIG_CMD_MCDP #define CONFIG_CMD_MD #define CONFIG_CMD_MEM +#define CONFIG_CMD_MFALLOW #define CONFIG_CMD_MMAPINFO #define CONFIG_CMD_PD #undef CONFIG_CMD_PD_DEV_DUMP_INFO @@ -1452,6 +1453,7 @@ #undef CONFIG_CMD_RAND #define CONFIG_CMD_REGULATOR #undef CONFIG_CMD_RESET_FLAGS +#define CONFIG_CMD_RETIMER #undef CONFIG_CMD_RTC #undef CONFIG_CMD_RTC_ALARM #define CONFIG_CMD_RW |