| /* Copyright (c) 2018, The Linux Foundation. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| &mdss_mdp { |
| dsi_boyi_hx83100a_800p_video: qcom,mdss_dsi_boyi_hx83100a_800p_video { |
| qcom,mdss-dsi-panel-name = "hx83100a 800p video mode dsi panel"; |
| qcom,mdss-dsi-panel-controller = <&mdss_dsi0>; |
| qcom,mdss-dsi-panel-type = "dsi_video_mode"; |
| qcom,mdss-dsi-panel-destination = "display_2"; |
| qcom,mdss-dsi-panel-framerate = <60>; |
| qcom,mdss-dsi-virtual-channel-id = <0>; |
| qcom,mdss-dsi-stream = <0>; |
| qcom,mdss-dsi-panel-width = <800>; |
| qcom,mdss-dsi-panel-height = <1280>; |
| qcom,mdss-dsi-h-front-porch = <40>; |
| qcom,mdss-dsi-h-back-porch = <40>; |
| qcom,mdss-dsi-h-pulse-width = <40>; |
| qcom,mdss-dsi-h-sync-skew = <0>; |
| qcom,mdss-dsi-v-back-porch = <8>; |
| qcom,mdss-dsi-v-front-porch = <412>; |
| qcom,mdss-dsi-v-pulse-width = <4>; |
| qcom,mdss-dsi-h-left-border = <0>; |
| qcom,mdss-dsi-h-right-border = <0>; |
| qcom,mdss-dsi-v-top-border = <0>; |
| qcom,mdss-dsi-v-bottom-border = <0>; |
| qcom,mdss-dsi-bpp = <24>; |
| qcom,mdss-dsi-color-order = "rgb_swap_rgb"; |
| qcom,mdss-dsi-underflow-color = <0xff>; |
| qcom,mdss-dsi-border-color = <0>; |
| qcom,mdss-dsi-on-command = [ |
| /*exit sleep mode and delay 120ms*/ |
| 39 01 00 00 78 00 02 11 00 |
| /*set display on and delay 20ms*/ |
| 39 01 00 00 14 00 02 29 00 |
| ]; |
| qcom,mdss-dsi-off-command = [05 01 00 00 96 00 02 28 00 |
| 05 01 00 00 00 00 02 10 00]; |
| qcom,mdss-dsi-on-command-state = "dsi_hs_mode"; |
| qcom,mdss-dsi-off-command-state = "dsi_hs_mode"; |
| qcom,mdss-dsi-h-sync-pulse = <1>; |
| qcom,mdss-dsi-traffic-mode = "burst_mode"; |
| qcom,mdss-dsi-lane-map = "lane_map_0123"; |
| qcom,mdss-dsi-bllp-eof-power-mode; |
| qcom,mdss-dsi-bllp-power-mode; |
| qcom,mdss-dsi-lane-0-state; |
| qcom,mdss-dsi-lane-1-state; |
| qcom,mdss-dsi-lane-2-state; |
| qcom,mdss-dsi-lane-3-state; |
| qcom,mdss-dsi-panel-timings = [9b 22 18 00 4a 4e 1c 26 |
| 1d 03 04 00]; |
| qcom,mdss-dsi-t-clk-post = <0x04>; |
| qcom,mdss-dsi-t-clk-pre = <0x1f>; |
| qcom,mdss-dsi-bl-min-level = <2>; |
| qcom,mdss-dsi-bl-max-level = <4095>; |
| qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| qcom,mdss-dsi-dma-trigger = "trigger_sw"; |
| qcom,mdss-dsi-mdp-trigger = "none"; |
| qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| qcom,mdss-pan-physical-width-dimension = <107>; |
| qcom,mdss-pan-physical-height-dimension = <172>; |
| qcom,mdss-dsi-reset-sequence = <1 10>, <0 5>, <1 50>; |
| qcom,mdss-dsi-lp11-init; |
| qcom,mdss-dsi-post-init-delay = <1>; |
| }; |
| }; |