disp: msm: dsi: add support for phy/pll bypass
This change adds support for bypassing hw access in DSI PHY/PLL drivers which enables the DSI driver to run on emulation platforms that might be missing those modules. Change-Id: I3e83155a79d60f2357606746214d776cefabd651 Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com> Signed-off-by: Shamika Joshi <quic_shamjosh@quicinc.com> Signed-off-by: Alex Danila <quic_eadanila@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

부모
8f1d4ca416
커밋
6d5a850504
@@ -1440,6 +1440,11 @@ void dsi_ctrl_hw_cmn_enable_error_interrupts(struct dsi_ctrl_hw *ctrl,
|
||||
else
|
||||
int_ctrl &= ~BIT(25);
|
||||
|
||||
if (ctrl->phy_pll_bypass) {
|
||||
int_ctrl &= ~BIT(25);
|
||||
goto dsi_write;
|
||||
}
|
||||
|
||||
/* Do not clear interrupt status */
|
||||
int_ctrl &= 0xAAEEAAFE;
|
||||
|
||||
@@ -1499,6 +1504,7 @@ void dsi_ctrl_hw_cmn_enable_error_interrupts(struct dsi_ctrl_hw *ctrl,
|
||||
if (errors & DSI_INTERLEAVE_OP_CONTENTION)
|
||||
int_mask0 &= ~BIT(8);
|
||||
|
||||
dsi_write:
|
||||
DSI_W32(ctrl, DSI_INT_CTRL, int_ctrl);
|
||||
DSI_W32(ctrl, DSI_ERR_INT_MASK0, int_mask0);
|
||||
|
||||
|
Reference in New Issue
Block a user