summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/reef/board.c4
-rw-r--r--driver/tcpm/ps8751.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/board/reef/board.c b/board/reef/board.c
index 0df05cb832..1ffea79835 100644
--- a/board/reef/board.c
+++ b/board/reef/board.c
@@ -390,6 +390,10 @@ void board_tcpc_init(void)
mux->hpd_update(port, 0, 0);
}
+
+ /* 0x98 sets lower EQ of DP port (4.5db) */
+ i2c_write8(NPCX_I2C_PORT0_1, 0x16, PS8751_REG_MUX_DP_EQ_Configuration,
+ 0x98);
}
DECLARE_HOOK(HOOK_INIT, board_tcpc_init, HOOK_PRIO_INIT_I2C+1);
diff --git a/driver/tcpm/ps8751.h b/driver/tcpm/ps8751.h
index bd3632bcdb..0b91572c34 100644
--- a/driver/tcpm/ps8751.h
+++ b/driver/tcpm/ps8751.h
@@ -18,6 +18,7 @@
#define PS8751_REG_CTRL_1 0xD0
#define PS8751_REG_CTRL_1_HPD (1 << 0)
#define PS8751_REG_CTRL_1_IRQ (1 << 1)
+#define PS8751_REG_MUX_DP_EQ_Configuration 0xD3
#define PS8751_REG_MUX_USB_C2SS_EQ 0xe7
#define PS8751_REG_MUX_USB_C2SS_HS_THRESHOLD 0xe8