Sachin Bhayare | 4c6b51c | 2018-02-02 18:11:17 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. |
Sachin Bhayare | 2043571 | 2018-01-15 09:57:00 -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 | #include "dsi-panel-sim-video.dtsi" |
| 14 | #include "dsi-panel-sim-dualmipi-video.dtsi" |
| 15 | #include "dsi-panel-sim-cmd.dtsi" |
| 16 | #include "dsi-panel-sim-dualmipi-cmd.dtsi" |
| 17 | #include "dsi-panel-truly-1080p-video.dtsi" |
| 18 | #include "dsi-panel-truly-1080p-cmd.dtsi" |
| 19 | #include "dsi-adv7533-1080p.dtsi" |
| 20 | #include "dsi-adv7533-720p.dtsi" |
| 21 | #include "dsi-panel-r69006-1080p-video.dtsi" |
| 22 | #include "dsi-panel-r69006-1080p-cmd.dtsi" |
| 23 | #include "dsi-panel-truly-wuxga-video.dtsi" |
| 24 | #include "dsi-panel-lt8912-480p-video.dtsi" |
| 25 | #include "dsi-panel-lt8912-1080p-video.dtsi" |
Lei Chen | cc97eb7 | 2018-01-27 11:59:40 +0800 | [diff] [blame] | 26 | #include "dsi-panel-hx8399c-fhd-plus-video.dtsi" |
Rashi Bindra | 771b601 | 2018-03-22 18:20:45 +0530 | [diff] [blame] | 27 | #include "dsi-panel-hx83100a-800p-video.dtsi" |
Narender Ankam | 7548e39 | 2018-06-01 14:22:47 +0530 | [diff] [blame] | 28 | #include "dsi-panel-boent51021-1200p-video.dtsi" |
Katepallewar, Mrugesh | df93b2b | 2018-07-11 17:56:42 +0530 | [diff] [blame] | 29 | #include "dsi-panel-hx8394d-wxga-video.dtsi" |
tao.liu | 3feefa7 | 2018-07-27 11:12:27 -0700 | [diff] [blame] | 30 | #include "dsi-panel-inxnt51021-1200p-video.dtsi" |
Sachin Bhayare | 2043571 | 2018-01-15 09:57:00 -0800 | [diff] [blame] | 31 | |
| 32 | &soc { |
| 33 | dsi_panel_pwr_supply: dsi_panel_pwr_supply { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <0>; |
| 36 | |
| 37 | qcom,panel-supply-entry@0 { |
| 38 | reg = <0>; |
| 39 | qcom,supply-name = "vdd"; |
| 40 | qcom,supply-min-voltage = <2850000>; |
| 41 | qcom,supply-max-voltage = <2850000>; |
| 42 | qcom,supply-enable-load = <100000>; |
| 43 | qcom,supply-disable-load = <100>; |
| 44 | }; |
| 45 | |
| 46 | qcom,panel-supply-entry@1 { |
| 47 | reg = <1>; |
| 48 | qcom,supply-name = "vddio"; |
| 49 | qcom,supply-min-voltage = <1800000>; |
| 50 | qcom,supply-max-voltage = <1800000>; |
| 51 | qcom,supply-enable-load = <100000>; |
| 52 | qcom,supply-disable-load = <100>; |
| 53 | }; |
Sachin Bhayare | 4459d24 | 2018-02-26 17:54:29 +0530 | [diff] [blame] | 54 | qcom,panel-supply-entry@2 { |
| 55 | reg = <2>; |
| 56 | qcom,supply-name = "lab"; |
| 57 | qcom,supply-min-voltage = <4600000>; |
| 58 | qcom,supply-max-voltage = <6000000>; |
| 59 | qcom,supply-enable-load = <100000>; |
| 60 | qcom,supply-disable-load = <100>; |
| 61 | }; |
| 62 | qcom,panel-supply-entry@3 { |
| 63 | reg = <3>; |
| 64 | qcom,supply-name = "ibb"; |
| 65 | qcom,supply-min-voltage = <4600000>; |
| 66 | qcom,supply-max-voltage = <6000000>; |
| 67 | qcom,supply-enable-load = <100000>; |
| 68 | qcom,supply-disable-load = <100>; |
| 69 | qcom,supply-post-on-sleep = <10>; |
| 70 | }; |
Sachin Bhayare | 2043571 | 2018-01-15 09:57:00 -0800 | [diff] [blame] | 71 | }; |
| 72 | }; |
| 73 | |
| 74 | &dsi_truly_1080_vid { |
| 75 | qcom,mdss-dsi-panel-timings-phy-v2 = [23 1e 08 09 05 03 04 a0 |
| 76 | 23 1e 08 09 05 03 04 a0 |
| 77 | 23 1e 08 09 05 03 04 a0 |
| 78 | 23 1e 08 09 05 03 04 a0 |
| 79 | 23 1a 08 09 05 03 04 a0]; |
Sachin Bhayare | 4c6b51c | 2018-02-02 18:11:17 +0530 | [diff] [blame] | 80 | qcom,esd-check-enabled; |
Narender Ankam | d4ec6df | 2018-05-21 19:00:21 +0530 | [diff] [blame] | 81 | qcom,mdss-dsi-panel-status-check-mode = "reg_read"; |
| 82 | qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a]; |
| 83 | qcom,mdss-dsi-panel-status-command-state = "dsi_hs_mode"; |
| 84 | qcom,mdss-dsi-panel-status-value = <0x1c>; |
| 85 | qcom,mdss-dsi-panel-on-check-value = <0x1c>; |
| 86 | qcom,mdss-dsi-panel-status-read-length = <1>; |
| 87 | qcom,mdss-dsi-panel-max-error-count = <3>; |
Sachin Bhayare | 4c6b51c | 2018-02-02 18:11:17 +0530 | [diff] [blame] | 88 | |
Sachin Bhayare | 2043571 | 2018-01-15 09:57:00 -0800 | [diff] [blame] | 89 | }; |
| 90 | |
| 91 | &dsi_truly_1080_cmd { |
| 92 | qcom,mdss-dsi-panel-timings-phy-v2 = [23 1e 08 09 05 03 04 a0 |
| 93 | 23 1e 08 09 05 03 04 a0 |
| 94 | 23 1e 08 09 05 03 04 a0 |
| 95 | 23 1e 08 09 05 03 04 a0 |
| 96 | 23 1a 08 09 05 03 04 a0]; |
Sachin Bhayare | 4c6b51c | 2018-02-02 18:11:17 +0530 | [diff] [blame] | 97 | qcom,esd-check-enabled; |
Narender Ankam | d4ec6df | 2018-05-21 19:00:21 +0530 | [diff] [blame] | 98 | qcom,mdss-dsi-panel-status-check-mode = "reg_read"; |
| 99 | qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a]; |
| 100 | qcom,mdss-dsi-panel-status-command-state = "dsi_hs_mode"; |
| 101 | qcom,mdss-dsi-panel-status-value = <0x1c>; |
| 102 | qcom,mdss-dsi-panel-on-check-value = <0x1c>; |
| 103 | qcom,mdss-dsi-panel-status-read-length = <1>; |
| 104 | qcom,mdss-dsi-panel-max-error-count = <3>; |
Sachin Bhayare | 2043571 | 2018-01-15 09:57:00 -0800 | [diff] [blame] | 105 | }; |
| 106 | |
| 107 | &dsi_r69006_1080p_video { |
| 108 | qcom,mdss-dsi-panel-timings-phy-v2 = [24 1f 08 09 05 03 04 a0 |
| 109 | 24 1f 08 09 05 03 04 a0 |
| 110 | 24 1f 08 09 05 03 04 a0 |
| 111 | 24 1f 08 09 05 03 04 a0 |
| 112 | 24 1b 08 09 05 03 04 a0]; |
| 113 | }; |
| 114 | |
| 115 | &dsi_r69006_1080p_cmd{ |
| 116 | qcom,mdss-dsi-panel-timings-phy-v2 = [24 1f 08 09 05 03 04 a0 |
| 117 | 24 1f 08 09 05 03 04 a0 |
| 118 | 24 1f 08 09 05 03 04 a0 |
| 119 | 24 1f 08 09 05 03 04 a0 |
| 120 | 24 1b 08 09 05 03 04 a0]; |
| 121 | }; |
| 122 | |
Lei Chen | cc97eb7 | 2018-01-27 11:59:40 +0800 | [diff] [blame] | 123 | &dsi_hx8399c_truly_vid { |
| 124 | qcom,mdss-dsi-panel-timings-phy-v2 = [24 1f 08 09 05 03 04 a0 |
| 125 | 24 1f 08 09 05 03 04 a0 |
| 126 | 24 1f 08 09 05 03 04 a0 |
| 127 | 24 1f 08 09 05 03 04 a0 |
| 128 | 24 1c 08 09 05 03 04 a0]; |
Lei Chen | 6a58762 | 2018-06-21 19:32:34 +0800 | [diff] [blame] | 129 | qcom,mdss-dsi-h-front-porch = <52>; |
| 130 | qcom,mdss-dsi-h-back-porch = <48>; |
| 131 | qcom,mdss-dsi-h-pulse-width = <8>; |
| 132 | qcom,mdss-dsi-v-back-porch = <8>; |
| 133 | qcom,mdss-dsi-v-front-porch = <8>; |
| 134 | qcom,mdss-dsi-v-pulse-width = <4>; |
Yuan Zhao | 4921a1f | 2018-02-13 10:40:38 +0800 | [diff] [blame] | 135 | qcom,esd-check-enabled; |
| 136 | qcom,mdss-dsi-panel-status-check-mode = "reg_read"; |
| 137 | qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a]; |
| 138 | qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode"; |
| 139 | qcom,mdss-dsi-panel-status-value = <0x9d 0x9d 0x9d 0x9d>; |
| 140 | qcom,mdss-dsi-panel-on-check-value = <0x9d 0x9d 0x9d 0x9d>; |
| 141 | qcom,mdss-dsi-panel-status-read-length = <4>; |
| 142 | qcom,mdss-dsi-panel-max-error-count = <3>; |
Rashi Bindra | 1420ed5 | 2018-04-11 12:13:55 +0530 | [diff] [blame] | 143 | qcom,mdss-dsi-min-refresh-rate = <48>; |
Yuan Zhao | 4921a1f | 2018-02-13 10:40:38 +0800 | [diff] [blame] | 144 | qcom,mdss-dsi-max-refresh-rate = <60>; |
| 145 | qcom,mdss-dsi-pan-enable-dynamic-fps; |
| 146 | qcom,mdss-dsi-pan-fps-update = |
| 147 | "dfps_immediate_porch_mode_vfp"; |
Lei Chen | cc97eb7 | 2018-01-27 11:59:40 +0800 | [diff] [blame] | 148 | }; |
| 149 | |
Sachin Bhayare | 2043571 | 2018-01-15 09:57:00 -0800 | [diff] [blame] | 150 | &dsi_adv7533_1080p { |
| 151 | qcom,mdss-dsi-panel-timings-phy-v2 = [24 1f 08 09 05 03 04 a0 |
| 152 | 24 1f 08 09 05 03 04 a0 |
| 153 | 24 1f 08 09 05 03 04 a0 |
| 154 | 24 1f 08 09 05 03 04 a0 |
| 155 | 24 1b 08 09 05 03 04 a0]; |
| 156 | }; |
| 157 | |
| 158 | &dsi_adv7533_720p { |
| 159 | qcom,mdss-dsi-panel-timings-phy-v2 = [1e 1b 04 06 02 03 04 a0 |
| 160 | 1e 1b 04 06 02 03 04 a0 |
| 161 | 1e 1b 04 06 02 03 04 a0 |
| 162 | 1e 1b 04 06 02 03 04 a0 |
| 163 | 1e 0e 04 05 02 03 04 a0]; |
| 164 | }; |
| 165 | |
| 166 | &dsi_truly_wuxga_vid { |
| 167 | qcom,mdss-dsi-panel-timings-phy-v2 = [24 1f 08 09 05 03 04 a0 |
| 168 | 24 1f 08 09 05 03 04 a0 |
| 169 | 24 1f 08 09 05 03 04 a0 |
| 170 | 24 1f 08 09 05 03 04 a0 |
| 171 | 24 1c 08 09 05 03 04 a0]; |
| 172 | }; |
Rashi Bindra | 771b601 | 2018-03-22 18:20:45 +0530 | [diff] [blame] | 173 | |
| 174 | &dsi_boyi_hx83100a_800p_video { |
| 175 | qcom,mdss-dsi-panel-timings-phy-v2 = [1f 1c 05 06 03 03 04 a0 |
| 176 | 1f 1c 05 06 03 03 04 a0 |
| 177 | 1f 1c 05 06 03 03 04 a0 |
| 178 | 1f 1c 05 06 03 03 04 a0 |
| 179 | 1f 10 05 06 03 03 04 a0]; |
| 180 | }; |
Narender Ankam | 7548e39 | 2018-06-01 14:22:47 +0530 | [diff] [blame] | 181 | |
| 182 | &dsi_boent51021_1200p_video { |
| 183 | qcom,mdss-dsi-panel-timings-phy-v2 = [25 20 08 0a 06 03 04 a0 |
| 184 | 25 20 08 0a 06 03 04 a0 |
| 185 | 25 20 08 0a 06 03 04 a0 |
| 186 | 25 20 08 0a 06 03 04 a0 |
| 187 | 25 1d 08 0a 06 03 04 a0]; |
| 188 | }; |
Katepallewar, Mrugesh | df93b2b | 2018-07-11 17:56:42 +0530 | [diff] [blame] | 189 | |
| 190 | &dsi_hx8394d_kingdisplay_vid { |
tao.liu | 3feefa7 | 2018-07-27 11:12:27 -0700 | [diff] [blame] | 191 | qcom,mdss-dsi-panel-timings-phy-v2 = [1c 19 02 03 01 03 04 a0 |
| 192 | 1c 19 02 03 01 03 04 a0 |
| 193 | 1c 19 02 03 01 03 04 a0 |
| 194 | 1c 19 02 03 01 03 04 a0 |
| 195 | 1c 07 02 03 01 03 04 a0]; |
| 196 | }; |
| 197 | |
| 198 | &dsi_inxnt51021_1200p_video { |
| 199 | qcom,mdss-dsi-panel-timings-phy-v2 = [25 20 08 0A 06 03 04 a0 |
| 200 | 25 20 08 0A 06 03 04 a0 |
| 201 | 25 20 08 0A 06 03 04 a0 |
| 202 | 25 20 08 0A 06 03 04 a0 |
| 203 | 25 1D 08 0A 06 03 04 a0]; |
Katepallewar, Mrugesh | df93b2b | 2018-07-11 17:56:42 +0530 | [diff] [blame] | 204 | }; |