Yuan Zhao | 33c507a | 2018-01-04 19:39:07 +0800 | [diff] [blame] | 1 | /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. |
Yuan Zhao | 3e1868e | 2017-09-25 16:47:29 +0800 | [diff] [blame] | 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | &mdss_mdp { |
| 14 | dsi_dual_nt36850_truly_cmd: qcom,mdss_dsi_nt36850_truly_wqhd_cmd { |
| 15 | qcom,mdss-dsi-panel-name = |
| 16 | "Dual nt36850 cmd mode dsi truly panel without DSC"; |
| 17 | qcom,mdss-dsi-panel-type = "dsi_cmd_mode"; |
| 18 | qcom,mdss-dsi-virtual-channel-id = <0>; |
| 19 | qcom,mdss-dsi-stream = <0>; |
| 20 | qcom,mdss-dsi-bpp = <24>; |
| 21 | qcom,mdss-dsi-color-order = "rgb_swap_rgb"; |
| 22 | qcom,mdss-dsi-underflow-color = <0xff>; |
| 23 | qcom,mdss-dsi-border-color = <0>; |
| 24 | |
| 25 | qcom,mdss-dsi-traffic-mode = "non_burst_sync_event"; |
| 26 | qcom,mdss-dsi-lane-map = "lane_map_0123"; |
| 27 | qcom,mdss-dsi-bllp-eof-power-mode; |
| 28 | qcom,mdss-dsi-bllp-power-mode; |
| 29 | qcom,mdss-dsi-tx-eot-append; |
| 30 | qcom,cmd-sync-wait-broadcast; |
| 31 | qcom,mdss-dsi-lane-0-state; |
| 32 | qcom,mdss-dsi-lane-1-state; |
| 33 | qcom,mdss-dsi-lane-2-state; |
| 34 | qcom,mdss-dsi-lane-3-state; |
| 35 | qcom,mdss-dsi-wr-mem-start = <0x2c>; |
| 36 | qcom,mdss-dsi-wr-mem-continue = <0x3c>; |
| 37 | qcom,mdss-dsi-te-pin-select = <1>; |
| 38 | qcom,mdss-dsi-te-dcs-command = <1>; |
| 39 | qcom,mdss-dsi-te-check-enable; |
| 40 | qcom,mdss-dsi-te-using-te-pin; |
Yuan Zhao | 3e1868e | 2017-09-25 16:47:29 +0800 | [diff] [blame] | 41 | qcom,mdss-dsi-dma-trigger = "trigger_sw"; |
| 42 | qcom,mdss-dsi-mdp-trigger = "none"; |
| 43 | qcom,mdss-dsi-lp11-init; |
| 44 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 45 | qcom,mdss-dsi-bl-min-level = <1>; |
| 46 | qcom,mdss-dsi-bl-max-level = <4095>; |
Yuan Zhao | 33c507a | 2018-01-04 19:39:07 +0800 | [diff] [blame] | 47 | qcom,mdss-dsi-reset-sequence = <1 10>, <0 10>, <1 50>; |
Yuan Zhao | 3e1868e | 2017-09-25 16:47:29 +0800 | [diff] [blame] | 48 | qcom,mdss-dsi-display-timings { |
| 49 | timing@0 { |
| 50 | qcom,mdss-dsi-panel-framerate = <60>; |
| 51 | qcom,mdss-dsi-panel-width = <720>; |
| 52 | qcom,mdss-dsi-panel-height = <2560>; |
| 53 | qcom,mdss-dsi-h-front-porch = <120>; |
| 54 | qcom,mdss-dsi-h-back-porch = <140>; |
| 55 | qcom,mdss-dsi-h-pulse-width = <20>; |
| 56 | qcom,mdss-dsi-h-sync-skew = <0>; |
| 57 | qcom,mdss-dsi-v-back-porch = <20>; |
| 58 | qcom,mdss-dsi-v-front-porch = <8>; |
| 59 | qcom,mdss-dsi-v-pulse-width = <4>; |
| 60 | qcom,mdss-dsi-h-left-border = <0>; |
| 61 | qcom,mdss-dsi-h-right-border = <0>; |
| 62 | qcom,mdss-dsi-v-top-border = <0>; |
| 63 | qcom,mdss-dsi-v-bottom-border = <0>; |
| 64 | qcom,mdss-dsi-on-command = [ |
| 65 | 15 01 00 00 00 00 02 ff 10 |
| 66 | 15 01 00 00 00 00 02 fb 01 |
| 67 | 15 01 00 00 00 00 02 36 00 |
| 68 | 15 01 00 00 00 00 02 35 00 |
| 69 | 39 01 00 00 00 00 03 44 03 e8 |
| 70 | 15 01 00 00 00 00 02 51 ff |
| 71 | 15 01 00 00 00 00 02 53 2c |
| 72 | 15 01 00 00 00 00 02 55 01 |
| 73 | 05 01 00 00 0a 00 02 20 00 |
| 74 | 15 01 00 00 00 00 02 bb 10 |
| 75 | 05 01 00 00 78 00 02 11 00 |
Yuan Zhao | 33c507a | 2018-01-04 19:39:07 +0800 | [diff] [blame] | 76 | 05 01 00 00 78 00 02 29 00 |
Yuan Zhao | 3e1868e | 2017-09-25 16:47:29 +0800 | [diff] [blame] | 77 | ]; |
| 78 | qcom,mdss-dsi-off-command = [ |
Yuan Zhao | 33c507a | 2018-01-04 19:39:07 +0800 | [diff] [blame] | 79 | 05 01 00 00 78 00 02 28 00 |
| 80 | 05 01 00 00 78 00 02 10 00 |
Yuan Zhao | 3e1868e | 2017-09-25 16:47:29 +0800 | [diff] [blame] | 81 | ]; |
| 82 | qcom,mdss-dsi-on-command-state = "dsi_lp_mode"; |
| 83 | qcom,mdss-dsi-off-command-state = "dsi_hs_mode"; |
| 84 | qcom,mdss-dsi-h-sync-pulse = <0>; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | }; |