summaryrefslogtreecommitdiff
path: root/board/hatch/board.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2019-01-10 18:25:36 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-02-12 14:00:13 -0800
commit8de6b302a3d97018a10795488ba83adf69011940 (patch)
tree954ff56fb33bb79a5f8e9aa41f1e17cfc6151b10 /board/hatch/board.h
parentcc736a3e98b8069897d3256b7f75ba88922eefd1 (diff)
downloadchrome-ec-8de6b302a3d97018a10795488ba83adf69011940.tar.gz
hatch: Add support for MST (multi stream transport) enable
The MST chip for Hatch needs to be enabled when HPD signal from either the Port 1 TCPC or HDMI port is high. This CL adds support to enable the MST chip based on this criteria. For the Port 1 type C port, the HPD signal level is derived from the USB PD policy level where the HPD update driver method is called. BRANCH=none BUG=b:123894908 TEST=Used external HP Z27n monitor and verifed the display is extended as expected when it's connected to either port 1 type C port or the HDMI connector. Change-Id: I1c46534bc7f32221f9e379dd9c74d5618c8f57e1 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1406496 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/hatch/board.h')
-rw-r--r--board/hatch/board.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/hatch/board.h b/board/hatch/board.h
index 3cfc6aff0a..b246a51c9d 100644
--- a/board/hatch/board.h
+++ b/board/hatch/board.h
@@ -37,6 +37,14 @@
#define CONFIG_THROTTLE_AP
#define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B
+/* MST */
+/*
+ * TDOD (b/124068003): This inherently assumes the MST chip is connected to only
+ * one Type C port. This will need to be chagned to support 2 Type C ports
+ * connected to the same MST chip.
+ */
+#define USB_PD_PORT_TCPC 1
+
/*
* Macros for GPIO signals used in common code that don't match the
* schematic names. Signal names in gpio.inc match the schematic and are