summaryrefslogtreecommitdiff
path: root/baseboard/zork/cbi_ssfc.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/zork/cbi_ssfc.h')
-rw-r--r--baseboard/zork/cbi_ssfc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/baseboard/zork/cbi_ssfc.h b/baseboard/zork/cbi_ssfc.h
index 9a8382bfd4..c51d612a06 100644
--- a/baseboard/zork/cbi_ssfc.h
+++ b/baseboard/zork/cbi_ssfc.h
@@ -43,6 +43,17 @@ enum ec_ssfc_edp_phy_alt_tuning {
#define SSFC_EDP_PHY_ALT_TUNING_OFFSET 4
#define SSFC_EDP_PHY_ALT_TUNING_MASK GENMASK(5, 4)
+/*
+ * TypeC port 1 secondary MUX (Bits 6-7)
+ */
+enum ec_ssfc_c1_mux {
+ SSFC_C1_MUX_NONE = 0,
+ SSFC_C1_MUX_TUSB544 = 1,
+ SSFC_C1_MUX_PS8818 = 2,
+};
+#define SSFC_C1_MUX_OFFSET 6
+#define SSFC_C1_MUX_MASK GENMASK(7, 6)
+
/**
* Get the Base sensor type from SSFC_CONFIG.
*
@@ -60,4 +71,9 @@ enum ec_ssfc_spkr_auto_mode get_cbi_ssfc_spkr_auto_mode(void);
*/
enum ec_ssfc_edp_phy_alt_tuning get_cbi_ssfc_edp_phy_alt_tuning(void);
+/**
+ * Get the C1 usb mux from SSFC.
+ */
+enum ec_ssfc_c1_mux get_cbi_ssfc_c1_mux(void);
+
#endif /* _ZORK_CBI_SSFC__H_ */