Merge "disp: msm: dsi: update DSI PHY configuration to support splitlink"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

커밋
3090ffd63f
@@ -56,7 +56,7 @@ static void dsi_split_link_setup(struct dsi_ctrl_hw *ctrl,
|
||||
{
|
||||
u32 reg;
|
||||
|
||||
if (!cfg->split_link.split_link_enabled)
|
||||
if (!cfg->split_link.enabled)
|
||||
return;
|
||||
|
||||
reg = DSI_R32(ctrl, DSI_SPLIT_LINK);
|
||||
@@ -69,6 +69,14 @@ static void dsi_split_link_setup(struct dsi_ctrl_hw *ctrl,
|
||||
reg &= ~(0x7 << 20);
|
||||
reg |= DSI_CTRL_MDP0_LINK_SEL;
|
||||
|
||||
/* COMMAND_INPUT_SWAP|VIDEO_INPUT_SWAP */
|
||||
if (cfg->split_link.sublink_swap) {
|
||||
if (cfg->split_link.panel_mode == DSI_OP_CMD_MODE)
|
||||
reg |= BIT(8);
|
||||
else
|
||||
reg |= BIT(4);
|
||||
}
|
||||
|
||||
/* EN */
|
||||
reg |= 0x1;
|
||||
|
||||
|
Reference in New Issue
Block a user