disp: msm: dsi: update DSI PHY programming
The change updates DSI DPHY and CPHY programming for PHY version 4_3. Change-Id: Id6b5cfefdce9530891e1e0f5a34814606954d843 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
Este cometimento está contido em:
@@ -228,7 +228,7 @@ static void dsi_phy_hw_cphy_enable(struct dsi_phy_hw *phy,
|
||||
if (cfg->bit_clk_rate_hz <= 1500000000)
|
||||
less_than_1500_mhz = true;
|
||||
|
||||
if (phy->version == DSI_PHY_VERSION_4_2) {
|
||||
if (phy->version >= DSI_PHY_VERSION_4_2) {
|
||||
glbl_rescode_top_ctrl = less_than_1500_mhz ? 0x3d : 0x01;
|
||||
glbl_rescode_bot_ctrl = less_than_1500_mhz ? 0x38 : 0x3b;
|
||||
} else if (phy->version == DSI_PHY_VERSION_4_1) {
|
||||
@@ -336,7 +336,7 @@ static void dsi_phy_hw_dphy_enable(struct dsi_phy_hw *phy,
|
||||
if (cfg->bit_clk_rate_hz <= 1500000000)
|
||||
less_than_1500_mhz = true;
|
||||
|
||||
if (phy->version == DSI_PHY_VERSION_4_2) {
|
||||
if (phy->version >= DSI_PHY_VERSION_4_2) {
|
||||
vreg_ctrl_0 = less_than_1500_mhz ? 0x53 : 0x52;
|
||||
glbl_rescode_top_ctrl = less_than_1500_mhz ? 0x3c : 0x00;
|
||||
glbl_rescode_bot_ctrl = less_than_1500_mhz ? 0x38 : 0x39;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador