summaryrefslogtreecommitdiff
path: root/driver/tcpm/rt1718s.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/rt1718s.c')
-rw-r--r--driver/tcpm/rt1718s.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/tcpm/rt1718s.c b/driver/tcpm/rt1718s.c
index 0275d9cc96..5c35ed03e4 100644
--- a/driver/tcpm/rt1718s.c
+++ b/driver/tcpm/rt1718s.c
@@ -174,6 +174,11 @@ static int rt1718s_init(int port)
RETURN_ERROR(rt1718s_bc12_init(port));
+ /* Set VBUS_VOL_SEL to 20V */
+ RETURN_ERROR(rt1718s_update_bits8(port, RT1718S_RT2_VBUS_VOL_CTRL,
+ RT1718S_RT2_VBUS_VOL_CTRL_VOL_SEL,
+ RT1718S_VBUS_VOL_TO_REG(20)));
+
/* Disable FOD function */
RETURN_ERROR(rt1718s_update_bits8(port, 0xCF, 0x40, 0x00));