mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm/dsi: phy_v3.0: get strength volue of phy from dtsi
Some project need to change the strength volue of phy, to fix the RF issue.So we can define the strength at the panel dtsi file. Change-Id: I9b3fb6e741798ac6ef5ec3921875a9975ce88e9f Signed-off-by: houdz1 <houdz1@lenovo.com> Reviewed-on: https://gerrit.mot.com/2160545 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yeqing Wang <wangyq13@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
1e339b7f38
commit
b307571af9
1 changed files with 6 additions and 0 deletions
|
|
@ -185,6 +185,12 @@ static void dsi_phy_hw_v3_0_lane_settings(struct dsi_phy_hw *phy,
|
|||
DSI_W32(phy, DSIPHY_LNX_LPRX_CTRL(i), 0);
|
||||
DSI_W32(phy, DSIPHY_LNX_PIN_SWAP(i), 0x0);
|
||||
DSI_W32(phy, DSIPHY_LNX_HSTX_STR_CTRL(i), 0x88);
|
||||
if(cfg->phy_drive_strength) {
|
||||
DSI_W32(phy, DSIPHY_LNX_HSTX_STR_CTRL(i), cfg->phy_drive_strength);
|
||||
DSI_PHY_WARN(phy, "DSIPHY_LNX_HSTX_STR_CTRL of lane%d is rewrite to 0x%x from 0x88\n",
|
||||
i, cfg->phy_drive_strength);
|
||||
}
|
||||
|
||||
}
|
||||
dsi_phy_hw_v3_0_config_lpcdrx(phy, cfg, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue