blob: f09a78a0ee827fe41087b50960ef6125727e8089 [file] [log] [blame]
Ray Zhang764496b2013-02-27 09:11:06 +08001/* Copyright (c) 2013, 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/ {
14 qcom,mdss_dsi_nt35590_720p_video {
15 compatible = "qcom,mdss-dsi-panel";
16 label = "nt35590 720p video mode dsi panel";
17 status = "disable";
18 qcom,dsi-ctrl-phandle = <&mdss_dsi0>;
19 qcom,rst-gpio = <&msmgpio 25 0>;
20 qcom,mdss-pan-res = <720 1280>;
21 qcom,mdss-pan-bpp = <24>;
22 qcom,mdss-pan-dest = "display_1";
23 qcom,mdss-pan-porch-values = <164 8 140 1 1 6>;
24 qcom,mdss-pan-underflow-clr = <0xff>;
25 qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled";
26 qcom,mdss-pan-bl-levels = <1 255>;
27 qcom,mdss-pan-dsi-mode = <0>;
28 qcom,mdss-pan-dsi-h-pulse-mode = <1>;
29 qcom,mdss-pan-dsi-h-power-stop = <0 0 0>;
30 qcom,mdss-pan-dsi-bllp-power-stop = <1 1>;
31 qcom,mdss-pan-dsi-traffic-mode = <2>;
32 qcom,mdss-pan-dsi-dst-format = <3>;
33 qcom,mdss-pan-dsi-vc = <0>;
34 qcom,mdss-pan-dsi-rgb-swap = <0>;
35 qcom,mdss-pan-dsi-data-lanes = <1 1 1 1>; /* 4 lanes */
36 qcom,mdss-pan-dsi-dlane-swap = <0>;
37 qcom,mdss-pan-dsi-t-clk = <0x2c 0x20>;
38 qcom,mdss-pan-dsi-stream = <0>;
39 qcom,mdss-pan-dsi-mdp-tr = <0x0>;
40 qcom,mdss-pan-dsi-dma-tr = <0x04>;
41 qcom,mdss-pan-frame-rate = <60>;
42 qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */
43 20 00 01];
44 qcom,panel-phy-timingSettings = [7d 25 1d 00 37 33
45 22 27 1e 03 04 00];
46 qcom,panel-phy-strengthCtrl = [ff 06];
47 qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */
48 00 00];
49 qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */
50 00 00 00 00 05 00 00 01 97 /* lane1 config */
51 00 00 00 00 0a 00 00 01 97 /* lane2 config */
52 00 00 00 00 0f 00 00 01 97 /* lane3 config */
53 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */
54 qcom,panel-on-cmds = [29 01 00 00 00 02 FF EE
55 29 01 00 00 00 02 26 08
56 29 01 00 00 00 02 26 00
57 29 01 00 00 10 02 FF 00
58 29 01 00 00 00 02 BA 03
59 29 01 00 00 00 02 C2 03
60 29 01 00 00 00 02 FF 01
61 29 01 00 00 00 02 FB 01
62 29 01 00 00 00 02 00 4A
63 29 01 00 00 00 02 01 33
64 29 01 00 00 00 02 02 53
65 29 01 00 00 00 02 03 55
66 29 01 00 00 00 02 04 55
67 29 01 00 00 00 02 05 33
68 29 01 00 00 00 02 06 22
69 29 01 00 00 00 02 08 56
70 29 01 00 00 00 02 09 8F
71 29 01 00 00 00 02 36 73
72 29 01 00 00 00 02 0B 9F
73 29 01 00 00 00 02 0C 9F
74 29 01 00 00 00 02 0D 2F
75 29 01 00 00 00 02 0E 24
76 29 01 00 00 00 02 11 83
77 29 01 00 00 00 02 12 03
78 29 01 00 00 00 02 71 2C
79 29 01 00 00 00 02 6F 03
80 29 01 00 00 00 02 0F 0A
81 29 01 00 00 00 02 FF 05
82 29 01 00 00 00 02 FB 01
83 29 01 00 00 00 02 01 00
84 29 01 00 00 00 02 02 8B
85 29 01 00 00 00 02 03 82
86 29 01 00 00 00 02 04 82
87 29 01 00 00 00 02 05 30
88 29 01 00 00 00 02 06 33
89 29 01 00 00 00 02 07 01
90 29 01 00 00 00 02 08 00
91 29 01 00 00 00 02 09 46
92 29 01 00 00 00 02 0A 46
93 29 01 00 00 00 02 0D 0B
94 29 01 00 00 00 02 0E 1D
95 29 01 00 00 00 02 0F 08
96 29 01 00 00 00 02 10 53
97 29 01 00 00 00 02 11 00
98 29 01 00 00 00 02 12 00
99 29 01 00 00 00 02 14 01
100 29 01 00 00 00 02 15 00
101 29 01 00 00 00 02 16 05
102 29 01 00 00 00 02 17 00
103 29 01 00 00 00 02 19 7F
104 29 01 00 00 00 02 1A FF
105 29 01 00 00 00 02 1B 0F
106 29 01 00 00 00 02 1C 00
107 29 01 00 00 00 02 1D 00
108 29 01 00 00 00 02 1E 00
109 29 01 00 00 00 02 1F 07
110 29 01 00 00 00 02 20 00
111 29 01 00 00 00 02 21 06
112 29 01 00 00 00 02 22 55
113 29 01 00 00 00 02 23 4D
114 29 01 00 00 00 02 2D 02
115 29 01 00 00 00 02 28 01
116 29 01 00 00 00 02 2F 02
117 29 01 00 00 00 02 83 01
118 29 01 00 00 00 02 9E 58
119 29 01 00 00 00 02 9F 6A
120 29 01 00 00 00 02 A0 01
121 29 01 00 00 00 02 A2 10
122 29 01 00 00 00 02 BB 0A
123 29 01 00 00 00 02 BC 0A
124 29 01 00 00 00 02 32 08
125 29 01 00 00 00 02 33 B8
126 29 01 00 00 00 02 36 01
127 29 01 00 00 00 02 37 00
128 29 01 00 00 00 02 43 00
129 29 01 00 00 00 02 4B 21
130 29 01 00 00 00 02 4C 03
131 29 01 00 00 00 02 50 21
132 29 01 00 00 00 02 51 03
133 29 01 00 00 00 02 58 21
134 29 01 00 00 00 02 59 03
135 29 01 00 00 00 02 5D 21
136 29 01 00 00 00 02 5E 03
137 29 01 00 00 00 02 6C 00
138 29 01 00 00 00 02 6D 00
139 29 01 00 00 00 02 FF 01
140 29 01 00 00 00 02 FB 01
141 29 01 00 00 00 02 FF 02
142 29 01 00 00 00 02 FB 01
143 29 01 00 00 00 02 FF 04
144 29 01 00 00 00 02 FB 01
145 29 01 00 00 00 02 FF 00
146 29 01 00 00 64 02 11 00
147 29 01 00 00 00 02 FF EE
148 29 01 00 00 00 02 12 50
149 29 01 00 00 00 02 13 02
150 29 01 00 00 00 02 6A 60
151 29 01 00 00 00 02 FF 00
152 29 01 00 00 78 02 29 00];
153
154 qcom,on-cmds-dsi-state = "DSI_LP_MODE";
155 qcom,panel-off-cmds = [05 01 00 00 32 02 28 00
156 05 01 00 00 78 02 10 00];
157 qcom,off-cmds-dsi-state = "DSI_HS_MODE";
158 };
159};