blob: 515efb88fbfb30cb154e5fbad54395fb5fbabf4c [file] [log] [blame]
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +08001/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
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_hx8399_truly_cmd: qcom,mdss_dsi_hx8399_truly_cmd {
15 qcom,mdss-dsi-panel-name =
16 "hx8399 video mode dsi truly panel";
17 qcom,mdss-dsi-panel-type = "dsi_video_mode";
18
19 qcom,mdss-dsi-virtual-channel-id = <0>;
20 qcom,mdss-dsi-stream = <0>;
21 qcom,mdss-dsi-h-left-border = <0>;
22 qcom,mdss-dsi-h-right-border = <0>;
23 qcom,mdss-dsi-v-top-border = <0>;
24 qcom,mdss-dsi-v-bottom-border = <0>;
25 qcom,mdss-dsi-bpp = <24>;
26 qcom,mdss-dsi-color-order = "rgb_swap_rgb";
27 qcom,mdss-dsi-underflow-color = <0xff>;
28 qcom,mdss-dsi-border-color = <0>;
29 qcom,mdss-dsi-h-sync-pulse = <0>;
30 qcom,mdss-dsi-traffic-mode = "non_burst_sync_event";
31 qcom,mdss-dsi-lane-map = "lane_map_0123";
32 qcom,mdss-dsi-bllp-eof-power-mode;
33 qcom,mdss-dsi-bllp-power-mode;
34 qcom,mdss-dsi-tx-eot-append;
35 qcom,mdss-dsi-lane-0-state;
36 qcom,mdss-dsi-lane-1-state;
37 qcom,mdss-dsi-lane-2-state;
38 qcom,mdss-dsi-lane-3-state;
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080039 qcom,mdss-dsi-dma-trigger = "trigger_sw";
40 qcom,mdss-dsi-mdp-trigger = "none";
41 qcom,mdss-dsi-lp11-init;
42 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
43 qcom,mdss-dsi-bl-min-level = <1>;
44 qcom,mdss-dsi-bl-max-level = <4095>;
45 qcom,mdss-dsi-reset-sequence = <1 10>, <0 10>, <1 10>;
46
47 qcom,mdss-dsi-display-timings {
48 timing@0 {
49 qcom,mdss-dsi-panel-width = <1080>;
50 qcom,mdss-dsi-panel-height = <2160>;
Yuan Zhao43f91ba2018-02-05 18:03:57 +080051 qcom,mdss-dsi-h-front-porch = <42>;
52 qcom,mdss-dsi-h-back-porch = <42>;
53 qcom,mdss-dsi-h-pulse-width = <10>;
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080054 qcom,mdss-dsi-h-sync-skew = <0>;
Yuan Zhao43f91ba2018-02-05 18:03:57 +080055 qcom,mdss-dsi-v-back-porch = <15>;
56 qcom,mdss-dsi-v-front-porch = <10>;
57 qcom,mdss-dsi-v-pulse-width = <3>;
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080058 qcom,mdss-dsi-panel-framerate = <60>;
59 qcom,mdss-dsi-on-command = [
60 39 01 00 00 00 00 04 B9 FF 83 99
61 39 01 00 00 00 00 02 D2 88
Yuan Zhao43f91ba2018-02-05 18:03:57 +080062 39 01 00 00 00 00 0c B1 02 04 72 92 01
63 32 AA 11 11 52 57
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080064 39 01 00 00 00 00 10 B2 00 80 80 CC 05
65 07 5A 11 10 10 00 1E 70 03 D4
Yuan Zhao43f91ba2018-02-05 18:03:57 +080066 39 01 00 00 00 00 2D B4 00 FF 59 59 01
67 AB 00 00 09 00 03 05 00 28 03 0B 0D
68 21 03 02 00 0C A3 80 59 59 02 AB 00
69 00 09 00 03 05 00 28 03 0B 0D 02 00
70 0C A3 01
71 39 01 00 00 05 00 22 D3 00 0C 03 03 00
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080072 00 10 10 00 00 03 00 03 00 08 78 08
73 78 00 00 00 00 00 24 02 05 05 03 00
74 00 00 05 40
75 39 01 00 00 05 00 21 D5 20 20 19 19 18
76 18 02 03 00 01 24 24 18 18 18 18 24
77 24 00 00 00 00 00 00 00 00 2F 2F 30
78 30 31 31
79 39 01 00 00 05 00 21 D6 24 24 18 18 19
80 19 01 00 03 02 24 24 18 18 18 18 20
81 20 40 40 40 40 40 40 40 40 2F 2F 30
82 30 31 31
83 39 01 00 00 00 00 02 BD 00
84 39 01 00 00 00 00 11 D8 AA AA AA AA AA
85 AA AA AA AA BA AA AA AA BA AA AA
86 39 01 00 00 00 00 02 BD 01
Yuan Zhao43f91ba2018-02-05 18:03:57 +080087 39 01 00 00 00 00 11 D8 00 00 00 00 00
88 00 00 00 82 EA AA AA 82 EA AA AA
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080089 39 01 00 00 00 00 02 BD 02
90 39 01 00 00 00 00 09 D8 FF FF C0 3F FF
91 FF C0 3F
92 39 01 00 00 00 00 02 BD 00
Yuan Zhao43f91ba2018-02-05 18:03:57 +080093 39 01 00 00 05 00 37 E0 01 21 31 2D 66
94 6F 7B 75 7A 81 86 89 8C 90 95 97 9A
95 A1 A2 AA 9E AD B0 5B 57 63 7A 01 21
96 31 2D 66 6F 7B 75 7A 81 86 89 8C 90
97 95 97 9A A1 A2 AA 9E AD B0 5B 57 63
98 7A
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +080099 39 01 00 00 00 00 03 B6 7E 7E
100 39 01 00 00 00 00 02 CC 08
Yuan Zhao43f91ba2018-02-05 18:03:57 +0800101 05 01 00 00 96 00 02 11 00
102 05 01 00 00 32 00 02 29 00];
103 qcom,mdss-dsi-off-command = [
104 05 01 00 00 32 00 02 28 00
105 05 01 00 00 96 00 02 10 00];
Yuan Zhaoccd2d3d2017-11-23 13:09:10 +0800106 qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
107 qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
108 };
109 };
110 };
111};