summaryrefslogtreecommitdiff
path: root/board/jacuzzi/board.h
diff options
context:
space:
mode:
authorudaykiran <udaykiran@google.com>2021-06-02 12:12:57 -0700
committerCommit Bot <commit-bot@chromium.org>2021-07-02 23:33:01 +0000
commit65b8e9a2a37b91c47e22151c9438b121d7b02558 (patch)
treefc489fe4af468e4d7b261a6b4425a94579e42f91 /board/jacuzzi/board.h
parentf281dad60e108a5d9d0b6047b4a649af67afaa09 (diff)
downloadchrome-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 'board/jacuzzi/board.h')
-rw-r--r--board/jacuzzi/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/jacuzzi/board.h b/board/jacuzzi/board.h
index da98822c9b..8aeb53de02 100644
--- a/board/jacuzzi/board.h
+++ b/board/jacuzzi/board.h
@@ -12,6 +12,7 @@
#define VARIANT_KUKUI_BATTERY_SMART
#define VARIANT_KUKUI_CHARGER_ISL9238
#define VARIANT_KUKUI_EC_STM32F098
+#undef CONFIG_CMD_MFALLOW
#ifndef SECTION_IS_RW
#define VARIANT_KUKUI_NO_SENSORS
@@ -67,6 +68,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