Loading Documentation/devicetree/bindings/fb/mdss-dsi-panel.txt +6 −0 Original line number Diff line number Diff line Loading @@ -456,6 +456,11 @@ Optional properties: - qcom,cmd-to-video-mode-switch-commands: List of commands that need to be sent to panel in order to switch from command mode to video mode dynamically. Refer to "qcom,mdss-dsi-on-command" section for adding commands. - qcom,mode-switch-commands-state: String that specifies the ctrl state for sending commands to switch the panel mode, it applies for both switches, from command to video and from video to command. "dsi_lp_mode" = DSI low power mode (default) "dsi_hs_mode" = DSI high speed mode - qcom,send-pps-before-switch: Boolean propety to indicate when PPS commands should be sent, either before or after switch commands during dynamic resolution switch in DSC panels. If the property is not present, the default Loading Loading @@ -691,6 +696,7 @@ Example: qcom,video-to-cmd-mode-switch-commands = [15 01 00 00 00 00 02 C2 0B 15 01 00 00 00 00 02 C2 08]; qcom,cmd-to-video-mode-switch-commands = [15 01 00 00 00 00 02 C2 03]; qcom,mode-switch-commands-state = "dsi_hs_mode"; qcom,send-pps-before-switch; qcom,panel-ack-disabled; qcom,mdss-dsi-horizontal-line-idle = <0 40 256>, Loading drivers/video/fbdev/msm/mdss_dsi_panel.c +4 −2 Original line number Diff line number Diff line Loading @@ -1851,10 +1851,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", Loading Loading
Documentation/devicetree/bindings/fb/mdss-dsi-panel.txt +6 −0 Original line number Diff line number Diff line Loading @@ -456,6 +456,11 @@ Optional properties: - qcom,cmd-to-video-mode-switch-commands: List of commands that need to be sent to panel in order to switch from command mode to video mode dynamically. Refer to "qcom,mdss-dsi-on-command" section for adding commands. - qcom,mode-switch-commands-state: String that specifies the ctrl state for sending commands to switch the panel mode, it applies for both switches, from command to video and from video to command. "dsi_lp_mode" = DSI low power mode (default) "dsi_hs_mode" = DSI high speed mode - qcom,send-pps-before-switch: Boolean propety to indicate when PPS commands should be sent, either before or after switch commands during dynamic resolution switch in DSC panels. If the property is not present, the default Loading Loading @@ -691,6 +696,7 @@ Example: qcom,video-to-cmd-mode-switch-commands = [15 01 00 00 00 00 02 C2 0B 15 01 00 00 00 00 02 C2 08]; qcom,cmd-to-video-mode-switch-commands = [15 01 00 00 00 00 02 C2 03]; qcom,mode-switch-commands-state = "dsi_hs_mode"; qcom,send-pps-before-switch; qcom,panel-ack-disabled; qcom,mdss-dsi-horizontal-line-idle = <0 40 256>, Loading
drivers/video/fbdev/msm/mdss_dsi_panel.c +4 −2 Original line number Diff line number Diff line Loading @@ -1851,10 +1851,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", Loading