disp: msm: dsi: snapshot of dsi from 4.14 to 4.19
This change is a snapshot of dsi files taken of 4.14 as of commit 764f7c2 (Merge remote-tracking branch 'quic/dev/msm-4.14-display' into msm-4.14) Change-Id: I8361a844c35a4450f7800964a8da2741676fd6c7 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
91f4bcda9d
當前提交
edef6ae040
@@ -1139,7 +1139,6 @@ int dsi_phy_conv_logical_to_phy_lane(
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* dsi_phy_config_dynamic_refresh() - Configure dynamic refresh registers
|
||||
* @phy: DSI PHY handle
|
||||
@@ -1239,6 +1238,27 @@ void dsi_phy_dynamic_refresh_clear(struct msm_dsi_phy *phy)
|
||||
mutex_unlock(&phy->phy_lock);
|
||||
}
|
||||
|
||||
/**
|
||||
* dsi_phy_set_continuous_clk() - set/unset force clock lane HS request
|
||||
* @phy: DSI PHY handle
|
||||
* @enable: variable to control continuous clock
|
||||
*/
|
||||
void dsi_phy_set_continuous_clk(struct msm_dsi_phy *phy, bool enable)
|
||||
{
|
||||
if (!phy)
|
||||
return;
|
||||
|
||||
mutex_lock(&phy->phy_lock);
|
||||
|
||||
if (phy->hw.ops.set_continuous_clk)
|
||||
phy->hw.ops.set_continuous_clk(&phy->hw, enable);
|
||||
else
|
||||
pr_warn("set_continuous_clk ops not present\n");
|
||||
|
||||
mutex_unlock(&phy->phy_lock);
|
||||
|
||||
}
|
||||
|
||||
void dsi_phy_drv_register(void)
|
||||
{
|
||||
platform_driver_register(&dsi_phy_platform_driver);
|
||||
|
新增問題並參考
封鎖使用者