From 86d69e2cc0d72fd57b36c1e6f7443f0d0101a1c6 Mon Sep 17 00:00:00 2001 From: Ingrid Gallardo Date: Wed, 16 Nov 2016 09:24:32 -0800 Subject: msm: mdss: dsi: add support to set state for mode switch commands Some panels need to send the dcs commands for mode switch in HS mode instead the default LP mode due time constraints. Add entries so the panels can be configured to HS mode if required for the mode switch. Change-Id: Ie41ad1965384b131db343c54f888ade82fc45e31 Signed-off-by: Ingrid Gallardo --- drivers/video/fbdev/msm/mdss_dsi_panel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'drivers/video/fbdev') diff --git a/drivers/video/fbdev/msm/mdss_dsi_panel.c b/drivers/video/fbdev/msm/mdss_dsi_panel.c index 7c36bb627043..d9e94ffb12e5 100644 --- a/drivers/video/fbdev/msm/mdss_dsi_panel.c +++ b/drivers/video/fbdev/msm/mdss_dsi_panel.c @@ -1703,10 +1703,12 @@ static void mdss_dsi_parse_dms_config(struct device_node *np, pr_debug("%s: default dms suspend/resume\n", __func__); mdss_dsi_parse_dcs_cmds(np, &ctrl->video2cmd, - "qcom,video-to-cmd-mode-switch-commands", NULL); + "qcom,video-to-cmd-mode-switch-commands", + "qcom,mode-switch-commands-state"); mdss_dsi_parse_dcs_cmds(np, &ctrl->cmd2video, - "qcom,cmd-to-video-mode-switch-commands", NULL); + "qcom,cmd-to-video-mode-switch-commands", + "qcom,mode-switch-commands-state"); mdss_dsi_parse_dcs_cmds(np, &ctrl->post_dms_on_cmds, "qcom,mdss-dsi-post-mode-switch-on-command", -- cgit v1.2.3