From 65b8e9a2a37b91c47e22151c9438b121d7b02558 Mon Sep 17 00:00:00 2001 From: udaykiran Date: Wed, 2 Jun 2021 12:12:57 -0700 Subject: 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 Change-Id: Icc25f339a78d1423b094d2acf9d586721ec2df46 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2939383 Reviewed-by: Aseda Aboagye --- board/makomo/board.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/makomo') diff --git a/board/makomo/board.h b/board/makomo/board.h index 1073d29e2a..7fcbf74bb8 100644 --- a/board/makomo/board.h +++ b/board/makomo/board.h @@ -15,6 +15,7 @@ #ifndef SECTION_IS_RW #define VARIANT_KUKUI_NO_SENSORS +#undef CONFIG_CMD_MFALLOW #endif /* SECTION_IS_RW */ #include "baseboard.h" @@ -60,6 +61,7 @@ #define CONFIG_ALS #define CONFIG_CMD_ACCEL_INFO + #define CONFIG_LID_ANGLE #define CONFIG_LID_ANGLE_UPDATE #define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL -- cgit v1.2.1