disp: msm: dsi: use panel's force_clk_lane_hs instead of phy's

In order to make dsi panel and dsi2hdmi panel compatible,
delete "qcom,panel-force-clock-lane-hs" property in phy and
use display panel's force_clk_lane_hs property.

Change-Id: I490e08b2ee859797c2b3aeddf109a3a4286fb922
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
Satya Rama Aditya Pinapala
2019-09-11 11:45:40 -07:00
committed by Gerrit - the friendly Code Review server
parent e2f98dc79b
commit 43069ad44a
4 changed files with 7 additions and 7 deletions

View File

@@ -522,7 +522,6 @@ struct dsi_video_engine_cfg {
bool hsa_lp11_en; bool hsa_lp11_en;
bool eof_bllp_lp11_en; bool eof_bllp_lp11_en;
bool bllp_lp11_en; bool bllp_lp11_en;
bool force_clk_lane_hs;
enum dsi_video_traffic_mode traffic_mode; enum dsi_video_traffic_mode traffic_mode;
u32 vc_id; u32 vc_id;
u32 dma_sched_line; u32 dma_sched_line;

View File

@@ -3724,6 +3724,13 @@ static int dsi_display_res_init(struct dsi_display *display)
goto error_ctrl_put; goto error_ctrl_put;
} }
display_for_each_ctrl(i, display) {
struct msm_dsi_phy *phy = display->ctrl[i].phy;
phy->cfg.force_clk_lane_hs =
display->panel->host_config.force_hs_clk_lane;
}
rc = dsi_display_parse_lane_map(display); rc = dsi_display_parse_lane_map(display);
if (rc) { if (rc) {
DSI_ERR("Lane map not found, rc=%d\n", rc); DSI_ERR("Lane map not found, rc=%d\n", rc);

View File

@@ -1363,9 +1363,6 @@ static int dsi_panel_parse_video_host_config(struct dsi_video_engine_cfg *cfg,
cfg->bllp_lp11_en = utils->read_bool(utils->data, cfg->bllp_lp11_en = utils->read_bool(utils->data,
"qcom,mdss-dsi-bllp-power-mode"); "qcom,mdss-dsi-bllp-power-mode");
cfg->force_clk_lane_hs = of_property_read_bool(utils->data,
"qcom,mdss-dsi-force-clock-lane-hs");
traffic_mode = utils->get_property(utils->data, traffic_mode = utils->get_property(utils->data,
"qcom,mdss-dsi-traffic-mode", "qcom,mdss-dsi-traffic-mode",
NULL); NULL);

View File

@@ -340,9 +340,6 @@ static int dsi_phy_settings_init(struct platform_device *pdev,
"qcom,dsi-phy-regulator-min-datarate-bps", "qcom,dsi-phy-regulator-min-datarate-bps",
&phy->regulator_min_datarate_bps); &phy->regulator_min_datarate_bps);
phy->cfg.force_clk_lane_hs = of_property_read_bool(pdev->dev.of_node,
"qcom,panel-force-clock-lane-hs");
return 0; return 0;
err: err:
lane->count_per_lane = 0; lane->count_per_lane = 0;