msm: mdss: add support to read force clock lane HS property
This change adds support to read force clock lane to HS property from panel dt file. Change-Id: I20c42e0f7914c8fb91c6cb7ea6fd2802359a6be6 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
This commit is contained in:
parent
4a73f2adf8
commit
407b84d154
3 changed files with 6 additions and 1 deletions
|
@ -382,6 +382,7 @@ Optional properties:
|
|||
"vflip" = panel is flipped in vertical direction
|
||||
- qcom,panel-ack-disabled: A boolean property to indicate, whether we need to wait for any ACK from the panel
|
||||
for any commands that we send.
|
||||
- qcom,mdss-dsi-force-clock-lane-hs: Boolean to force dsi clock lanes to HS mode always.
|
||||
|
||||
Note, if a given optional qcom,* binding is not present, then the driver will configure
|
||||
the default values specified.
|
||||
|
@ -519,5 +520,6 @@ Example:
|
|||
<40 120 128>,
|
||||
<128 240 64>;
|
||||
qcom,mdss-dsi-panel-orientation = "180"
|
||||
qcom,mdss-dsi-force-clock-lane-hs;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1732,6 +1732,9 @@ static int mdss_panel_parse_dt(struct device_node *np,
|
|||
mdss_dsi_parse_dcs_cmds(np, &ctrl_pdata->off_cmds,
|
||||
"qcom,mdss-dsi-off-command", "qcom,mdss-dsi-off-command-state");
|
||||
|
||||
pinfo->mipi.force_clk_lane_hs = of_property_read_bool(np,
|
||||
"qcom,mdss-dsi-force-clock-lane-hs");
|
||||
|
||||
rc = mdss_dsi_parse_panel_features(np, ctrl_pdata);
|
||||
if (rc) {
|
||||
pr_err("%s: failed to parse panel features\n", __func__);
|
||||
|
|
|
@ -294,7 +294,7 @@ struct mipi_panel_info {
|
|||
/* The packet-size should not bet changed */
|
||||
char no_max_pkt_size;
|
||||
/* Clock required during LP commands */
|
||||
char force_clk_lane_hs;
|
||||
bool force_clk_lane_hs;
|
||||
|
||||
char vsync_enable;
|
||||
char hw_vsync_mode;
|
||||
|
|
Loading…
Add table
Reference in a new issue