mdss-dsi-panel.txt 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. Qualcomm mdss-dsi-panel
  2. mdss-dsi-panel is a dsi panel device which supports panels that
  3. are compatable with MIPI display serial interface specification.
  4. Required properties:
  5. - compatible: This property applies to DSI V2 panels only.
  6. This property should not be added for panels
  7. that work based on version "V6.0"
  8. DSI panels that are of different versions
  9. are initialized by the drivers for dsi controller.
  10. This property specifies the version
  11. for DSI HW that this panel will work with
  12. "qcom,dsi-panel-v2" = DSI V2.0
  13. - status: This property applies to DSI V2 panels only.
  14. This property should not be added for panels
  15. that work based on version "V6.0"
  16. DSI panels that are of different versions
  17. are initialized by the drivers for dsi controller.
  18. A string that has to be set to "okay/ok"
  19. to enable the panel driver. By default this property
  20. will be set to "disable". Will be set to "ok/okay"
  21. status for specific platforms.
  22. - qcom,mdss-dsi-panel-controller: Specifies the phandle for the DSI controller that
  23. this panel will be mapped to.
  24. - qcom,mdss-dsi-panel-width: Specifies panel width in pixels.
  25. - qcom,mdss-dsi-panel-height: Specifies panel height in pixels.
  26. - qcom,mdss-dsi-bpp: Specifies the panel bits per pixel.
  27. 3 = for rgb111
  28. 8 = for rgb332
  29. 12 = for rgb444
  30. 16 = for rgb565
  31. 18 = for rgb666
  32. 24 = for rgb888
  33. - qcom,mdss-dsi-panel-destination: A string that specifies the destination display for the panel.
  34. "display_1" = DISPLAY_1
  35. "display_2" = DISPLAY_2
  36. - qcom,mdss-dsi-panel-timings: An array of length 12 that specifies the PHY
  37. timing settings for the panel.
  38. - qcom,mdss-dsi-on-command: A byte stream formed by multiple dcs packets base on
  39. qcom dsi controller protocol.
  40. byte 0: dcs data type
  41. byte 1: set to indicate this is an individual packet
  42. (no chain)
  43. byte 2: virtual channel number
  44. byte 3: expect ack from client (dcs read command)
  45. byte 4: wait number of specified ms after dcs command
  46. transmitted
  47. byte 5, 6: 16 bits length in network byte order
  48. byte 7 and beyond: number byte of payload
  49. - qcom,mdss-dsi-off-command: A byte stream formed by multiple dcs packets base on
  50. qcom dsi controller protocol.
  51. byte 0: dcs data type
  52. byte 1: set to indicate this is an individual packet
  53. (no chain)
  54. byte 2: virtual channel number
  55. byte 3: expect ack from client (dcs read command)
  56. byte 4: wait number of specified ms after dcs command
  57. transmitted
  58. byte 5, 6: 16 bits length in network byte order
  59. byte 7 and beyond: number byte of payload
  60. Optional properties:
  61. - qcom,mdss-dsi-panel-name: A string used as a descriptive name of the panel
  62. - qcom,cont-splash-enabled: Boolean used to enable continuous splash mode.
  63. If this property is specified, it is required to
  64. to specify the memory reserved for the splash
  65. screen using the qcom,memblock-reserve binding
  66. for the framebuffer device attached to the panel.
  67. - qcom,mdss-dsi-panel-broadcast-mode: Boolean used to enable broadcast mode.
  68. - qcom,mdss-dsi-fbc-enable: Boolean used to enable frame buffer compression mode.
  69. - qcom,mdss-dsi-fbc-bpp: Compressed bpp supported by the panel.
  70. Specified color order is used as default value.
  71. - qcom,mdss-dsi-fbc-packing: Component packing.
  72. 0 = default value.
  73. - qcom,mdss-dsi-fbc-quant-error: Boolean used to enable quantization error calculation.
  74. - qcom,mdss-dsi-fbc-bias: Bias for CD.
  75. 0 = default value.
  76. - qcom,mdss-dsi-fbc-pat-mode: Boolean used to enable PAT mode.
  77. - qcom,mdss-dsi-fbc-vlc-mode: Boolean used to enable VLC mode.
  78. - qcom,mdss-dsi-fbc-bflc-mode: Boolean used to enable BFLC mode.
  79. - qcom,mdss-dsi-fbc-h-line-budget: Per line extra budget.
  80. 0 = default value.
  81. - qcom,mdss-dsi-fbc-budget-ctrl: Extra budget level.
  82. 0 = default value.
  83. - qcom,mdss-dsi-fbc-block-budget: Per block budget.
  84. 0 = default value.
  85. - qcom,mdss-dsi-fbc-lossless-threshold: Lossless mode threshold.
  86. 0 = default value.
  87. - qcom,mdss-dsi-fbc-lossy-threshold: Lossy mode threshold.
  88. 0 = default value.
  89. - qcom,mdss-dsi-fbc-rgb-threshold: Lossy RGB threshold.
  90. 0 = default value.
  91. - qcom,mdss-dsi-fbc-lossy-mode-idx: Lossy mode index value.
  92. 0 = default value.
  93. - qcom,mdss-dsi-h-back-porch: Horizontal back porch value in pixel.
  94. 6 = default value.
  95. - qcom,mdss-dsi-h-front-porch: Horizontal front porch value in pixel.
  96. 6 = default value.
  97. - qcom,mdss-dsi-h-pulse-width: Horizontal pulse width.
  98. 2 = default value.
  99. - qcom,mdss-dsi-h-sync-skew: Horizontal sync skew value.
  100. 0 = default value.
  101. - qcom,mdss-dsi-v-back-porch: Vertical back porch value in pixel.
  102. 6 = default value.
  103. - qcom,mdss-dsi-v-front-porch: Vertical front porch value in pixel.
  104. 6 = default value.
  105. - qcom,mdss-dsi-v-pulse-width: Vertical pulse width.
  106. 2 = default value.
  107. - qcom,mdss-dsi-h-left-border: Horizontal left border in pixel.
  108. 0 = default value
  109. - qcom,mdss-dsi-h-right-border: Horizontal right border in pixel.
  110. 0 = default value
  111. - qcom,mdss-dsi-v-top-border: Vertical top border in pixel.
  112. 0 = default value
  113. - qcom,mdss-dsi-v-bottom-border: Vertical bottom border in pixel.
  114. 0 = default value
  115. - qcom,mdss-dsi-underflow-color: Specifies the controller settings for the
  116. panel under flow color.
  117. 0xff = default value.
  118. - qcom,mdss-dsi-border-color: Defines the border color value if border is present.
  119. 0 = default value.
  120. - qcom,mdss-dsi-pan-enable-dynamic-fps: Boolean used to enable change in frame rate dynamically.
  121. - qcom,mdss-dsi-pan-fps-update: A string that specifies when to change the frame rate.
  122. "dfps_suspend_resume_mode"= FPS change request is
  123. implemented during suspend/resume.
  124. "dfps_immediate_clk_mode" = FPS change request is
  125. implemented immediately using DSI clocks.
  126. "dfps_immediate_porch_mode" = FPS change request is
  127. implemented immediately by changing panel porch
  128. values.
  129. - qcom,min-refresh-rate: Minimum refresh rate supported by the panel.
  130. - qcom,max-refresh-rate: Maximum refresh rate supported by the panel. If max refresh
  131. rate is not specified, then the frame rate of the panel in
  132. qcom,mdss-dsi-panel-framerate is used.
  133. - qcom,mdss-dsi-bl-pmic-control-type: A string that specifies the implementation of backlight
  134. control for this panel.
  135. "bl_ctrl_pwm" = Backlight controlled by PWM gpio.
  136. "bl_ctrl_wled" = Backlight controlled by WLED.
  137. "bl_ctrl_dcs" = Backlight controlled by DCS commands.
  138. other: Unknown backlight control. (default)
  139. - qcom,mdss-dsi-bl-pmic-bank-select: LPG channel for backlight.
  140. Requred if blpmiccontroltype is PWM
  141. - qcom,mdss-dsi-bl-pmic-pwm-frequency: PWM period in microseconds.
  142. Requred if blpmiccontroltype is PWM
  143. - qcom,mdss-dsi-pwm-gpio: PMIC gpio binding to backlight.
  144. Requred if blpmiccontroltype is PWM
  145. - qcom,mdss-dsi-bl-min-level: Specifies the min backlight level supported by the panel.
  146. 0 = default value.
  147. - qcom,mdss-dsi-bl-max-level: Specifies the max backlight level supported by the panel.
  148. 255 = default value.
  149. - qcom,mdss-brightness-max-level: Specifies the max brightness level supported.
  150. 255 = default value.
  151. - qcom,mdss-dsi-interleave-mode: Specifies interleave mode.
  152. 0 = default value.
  153. - qcom,mdss-dsi-panel-type: Specifies the panel operating mode.
  154. "dsi_video_mode" = enable video mode (default).
  155. "dsi_cmd_mode" = enable command mode.
  156. - qcom,mdss-dsi-te-check-enable: Boolean to enable Tear Check configuration.
  157. - qcom,mdss-dsi-te-using-te-pin: Boolean to specify whether using hardware vsync.
  158. - qcom,mdss-dsi-te-pin-select: Specifies TE operating mode.
  159. 0 = TE through embedded dcs command
  160. 1 = TE through TE gpio pin. (default)
  161. - qcom,mdss-dsi-te-dcs-command: Inserts the dcs command.
  162. 1 = default value.
  163. - qcom,mdss-dsi-wr-mem-start: DCS command for write_memory_start.
  164. 0x2c = default value.
  165. - qcom,mdss-dsi-wr-mem-continue: DCS command for write_memory_continue.
  166. 0x3c = default value.
  167. - qcom,mdss-dsi-h-sync-pulse: Specifies the pulse mode option for the panel.
  168. 0 = Don't send hsa/he following vs/ve packet(default)
  169. 1 = Send hsa/he following vs/ve packet
  170. - qcom,mdss-dsi-hfp-power-mode: Boolean to determine DSI lane state during
  171. horizontal front porch (HFP) blanking period.
  172. - qcom,mdss-dsi-hbp-power-mode: Boolean to determine DSI lane state during
  173. horizontal back porch (HBP) blanking period.
  174. - qcom,mdss-dsi-hsa-power-mode: Boolean to determine DSI lane state during
  175. horizontal sync active (HSA) mode.
  176. - qcom,mdss-dsi-last-line-interleave Boolean to determine if last line
  177. interleave flag needs to be enabled.
  178. - qcom,mdss-dsi-bllp-eof-power-mode: Boolean to determine DSI lane state during
  179. blanking low power period (BLLP) EOF mode.
  180. - qcom,mdss-dsi-bllp-power-mode: Boolean to determine DSI lane state during
  181. blanking low power period (BLLP) mode.
  182. - qcom,mdss-dsi-traffic-mode: Specifies the panel traffic mode.
  183. "non_burst_sync_pulse" = non burst with sync pulses (default).
  184. "non_burst_sync_event" = non burst with sync start event.
  185. "burst_mode" = burst mode.
  186. - qcom,mdss-dsi-pixel-packing: Specifies if pixel packing is used (in case of RGB666).
  187. "tight" = Tight packing (default value).
  188. "loose" = Loose packing.
  189. - qcom,mdss-dsi-virtual-channel-id: Specifies the virtual channel identefier.
  190. 0 = default value.
  191. - qcom,mdss-dsi-color-order: Specifies the R, G and B channel ordering.
  192. "rgb_swap_rgb" = DSI_RGB_SWAP_RGB (default value)
  193. "rgb_swap_rbg" = DSI_RGB_SWAP_RBG
  194. "rgb_swap_brg" = DSI_RGB_SWAP_BRG
  195. "rgb_swap_grb" = DSI_RGB_SWAP_GRB
  196. "rgb_swap_gbr" = DSI_RGB_SWAP_GBR
  197. - qcom,mdss-dsi-lane-0-state: Boolean that specifies whether data lane 0 is enabled.
  198. - qcom,mdss-dsi-lane-1-state: Boolean that specifies whether data lane 1 is enabled.
  199. - qcom,mdss-dsi-lane-2-state: Boolean that specifies whether data lane 2 is enabled.
  200. - qcom,mdss-dsi-lane-3-state: Boolean that specifies whether data lane 3 is enabled.
  201. - qcom,mdss-dsi-lane-map: Specifies the data lane swap configuration.
  202. "lane_map_0123" = <0 1 2 3> (default value)
  203. "lane_map_3012" = <3 0 1 2>
  204. "lane_map_2301" = <2 3 0 1>
  205. "lane_map_1230" = <1 2 3 0>
  206. "lane_map_0321" = <0 3 2 1>
  207. "lane_map_1032" = <1 0 3 2>
  208. "lane_map_2103" = <2 1 0 3>
  209. "lane_map_3210" = <3 2 1 0>
  210. - qcom,mdss-dsi-t-clk-post: Specifies the byte clock cycles after mode switch.
  211. 0x03 = default value.
  212. - qcom,mdss-dsi-t-clk-pre: Specifies the byte clock cycles before mode switch.
  213. 0x24 = default value.
  214. - qcom,mdss-dsi-stream: Specifies the packet stream to be used.
  215. 0 = stream 0 (default)
  216. 1 = stream 1
  217. - qcom,mdss-dsi-mdp-trigger: Specifies the trigger mechanism to be used for MDP path.
  218. "none" = no trigger
  219. "trigger_te" = Tear check signal line used for trigger
  220. "trigger_sw" = Triggered by software (default)
  221. "trigger_sw_te" = Software trigger and TE
  222. - qcom,mdss-dsi-dma-trigger: Specifies the trigger mechanism to be used for DMA path.
  223. "none" = no trigger
  224. "trigger_te" = Tear check signal line used for trigger
  225. "trigger_sw" = Triggered by software (default)
  226. "trigger_sw_seof" = Software trigger and start/end of frame trigger.
  227. "trigger_sw_te" = Software trigger and TE
  228. - qcom,mdss-dsi-panel-framerate: Specifies the frame rate for the panel.
  229. 60 = 60 frames per second (default)
  230. - qcom,mdss-dsi-panel-clockrate: Specifies the panel clock speed in Hz.
  231. 0 = default value.
  232. - qcom,mdss-dsi-on-command-state: String that specifies the ctrl state for sending ON commands.
  233. "dsi_lp_mode" = DSI low power mode (default)
  234. "dsi_hs_mode" = DSI high speed mode
  235. - qcom,mdss-dsi-off-command-state: String that specifies the ctrl state for sending OFF commands.
  236. "dsi_lp_mode" = DSI low power mode (default)
  237. "dsi_hs_mode" = DSI high speed mode
  238. - qcom,mdss-pan-physical-width-dimension: Specifies panel physical width in mm which corresponds
  239. to the physical width in the framebuffer information.
  240. - qcom,mdss-pan-physical-height-dimension: Specifies panel physical height in mm which corresponds
  241. to the physical height in the framebuffer information.
  242. - qcom,mdss-dsi-panel-mode-gpio-state: String that specifies the mode state for panel if it is defined
  243. in dsi controller.
  244. "high" = Set GPIO to HIGH
  245. "low" = Set GPIO to LOW
  246. - qcom,partial-update-enabled: Boolean used to enable partial
  247. panel update for command mode panels.
  248. - qcom,mdss-dsi-reset-sequence: An array that lists the
  249. sequence of reset gpio values and sleeps
  250. Each command will have the format defined
  251. as below:
  252. --> Reset GPIO value
  253. --> Sleep value (in ms)
  254. - qcom,mdss-dsi-lp11-init: Boolean used to enable the DSI clocks and data lanes (low power 11)
  255. before issuing hardware reset line.
  256. - qcom,mdss-dsi-init-delay-us: Delay in microseconds(us) before performing any DSI activity in lp11
  257. mode. This master delay (t_init_delay as per DSI spec) should be sum
  258. of DSI internal delay to reach fuctional after power up and minimum
  259. delay required by panel to reach functional.
  260. - qcom,mdss-dsi-rx-eot-ignore: Boolean used to enable ignoring end of transmission packets.
  261. - qcom,mdss-dsi-tx-eot-append: Boolean used to enable appending end of transmission packets.
  262. - qcom,ulps-enabled: Boolean to enable support for Ultra Low Power State (ULPS) mode.
  263. - qcom,mdss-tear-check-disable: Boolean to disable mdp tear check. Tear check is enabled by default to avoid
  264. tearing. Other tear-check properties are ignored if this property is present.
  265. The below tear check configuration properties can be individually tuned if
  266. tear check is enabled.
  267. - qcom,mdss-tear-check-sync-cfg-height: Specifies the vertical total number of lines.
  268. The default value is 0xfff0.
  269. - qcom,mdss-tear-check-sync-init-val: Specifies the init value at which the read pointer gets loaded
  270. at vsync edge. The reader pointer refers to the line number of
  271. panel buffer that is currently being updated.
  272. The default value is panel height.
  273. - qcom,mdss-tear-check-sync-threshold-start:
  274. Allows the first ROI line write to an panel when read pointer is
  275. between the range of ROI start line and ROI start line plus this
  276. setting.
  277. The default value is 4.
  278. - qcom,mdss-tear-check-sync-threshold-continue:
  279. The minimum number of lines the write pointer needs to be
  280. above the read pointer so that it is safe to write to the panel.
  281. (This check is not done for the first ROI line write of an update)
  282. The default value is 4.
  283. - qcom,mdss-tear-check-start-pos: Specify the y position from which the start_threshold value is
  284. added and write is kicked off if the read pointer falls within that
  285. region.
  286. The default value is panel height.
  287. - qcom,mdss-tear-check-rd-ptr-trigger-intr:
  288. Specify the read pointer value at which an interrupt has to be
  289. generated.
  290. The default value is panel height + 1.
  291. - qcom,mdss-tear-check-frame-rate: Specify the value to be a real frame rate(fps) x 100 factor to tune the
  292. timing of TE simulation with more precision.
  293. The default value is 6000 with 60 fps.
  294. - qcom,panel-roi-alignment: Specifies the panel ROI alignment restrictions on its
  295. left, top, width, height alignments and minimum width and
  296. height values
  297. - qcom,dynamic-mode-switch-enabled: Boolean used to mention whether panel supports
  298. dynamic switching from video mode to command mode
  299. and vice versa.
  300. - qcom,video-to-cmd-mode-switch-commands: List of commands that need to be sent
  301. to panel in order to switch from video mode to command mode dynamically.
  302. Refer to "qcom,mdss-dsi-on-command" section for adding commands.
  303. - qcom,cmd-to-video-mode-switch-commands: List of commands that need to be sent
  304. to panel in order to switch from command mode to video mode dynamically.
  305. Refer to "qcom,mdss-dsi-on-command" section for adding commands.
  306. - qcom,esd-check-enabled: Boolean used to enable ESD recovery feature.
  307. - qcom,mdss-dsi-panel-status-command: A byte stream formed by multiple dcs packets based on
  308. qcom dsi controller protocol, to read the panel status.
  309. This value is used to kick in the ESD recovery.
  310. byte 0: dcs data type
  311. byte 1: set to indicate this is an individual packet
  312. (no chain)
  313. byte 2: virtual channel number
  314. byte 3: expect ack from client (dcs read command)
  315. byte 4: wait number of specified ms after dcs command
  316. transmitted
  317. byte 5, 6: 16 bits length in network byte order
  318. byte 7 and beyond: number byte of payload
  319. - qcom,mdss-dsi-panel-status-command-mode:
  320. String that specifies the ctrl state for reading the panel status.
  321. "dsi_lp_mode" = DSI low power mode
  322. "dsi_hs_mode" = DSI high speed mode
  323. - qcom,mdss-dsi-panel-status-check-mode:Specifies the panel status check method for ESD recovery.
  324. "bta_check" = Uses BTA to check the panel status
  325. "reg_read" = Reads panel status register to check the panel status
  326. - qcom,mdss-dsi-panel-status-value: Specifies the value of the panel status register when the panel is
  327. in good state.
  328. Note, if a given optional qcom,* binding is not present, then the driver will configure
  329. the default values specified.
  330. Example:
  331. &mdss_mdp {
  332. dsi_sim_vid: qcom,mdss_dsi_sim_video {
  333. qcom,mdss-dsi-panel-name = "simulator video mode dsi panel";
  334. qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
  335. qcom,mdss-dsi-panel-height = <1280>;
  336. qcom,mdss-dsi-panel-width = <720>;
  337. qcom,mdss-dsi-bpp = <24>;
  338. qcom,mdss-dsi-pixel-packing = <0>;
  339. qcom,mdss-dsi-panel-destination = "display_1";
  340. qcom,mdss-dsi-panel-broadcast-mode;
  341. qcom,mdss-dsi-fbc-enable;
  342. qcom,mdss-dsi-fbc-bpp = <0>;
  343. qcom,mdss-dsi-fbc-packing = <0>;
  344. qcom,mdss-dsi-fbc-quant-error;
  345. qcom,mdss-dsi-fbc-bias = <0>;
  346. qcom,mdss-dsi-fbc-pat-mode;
  347. qcom,mdss-dsi-fbc-vlc-mode;
  348. qcom,mdss-dsi-fbc-bflc-mode;
  349. qcom,mdss-dsi-fbc-h-line-budget = <0>;
  350. qcom,mdss-dsi-fbc-budget-ctrl = <0>;
  351. qcom,mdss-dsi-fbc-block-budget = <0>;
  352. qcom,mdss-dsi-fbc-lossless-threshold = <0>;
  353. qcom,mdss-dsi-fbc-lossy-threshold = <0>;
  354. qcom,mdss-dsi-fbc-rgb-threshold = <0>;
  355. qcom,mdss-dsi-fbc-lossy-mode-idx = <0>;
  356. qcom,mdss-dsi-h-front-porch = <140>;
  357. qcom,mdss-dsi-h-back-porch = <164>;
  358. qcom,mdss-dsi-h-pulse-width = <8>;
  359. qcom,mdss-dsi-h-sync-skew = <0>;
  360. qcom,mdss-dsi-v-back-porch = <6>;
  361. qcom,mdss-dsi-v-front-porch = <1>;
  362. qcom,mdss-dsi-v-pulse-width = <1>;
  363. qcom,mdss-dsi-h-left-border = <0>;
  364. qcom,mdss-dsi-h-right-border = <0>;
  365. qcom,mdss-dsi-v-top-border = <0>;
  366. qcom,mdss-dsi-v-bottom-border = <0>;
  367. qcom,mdss-dsi-border-color = <0>;
  368. qcom,mdss-dsi-underflow-color = <0xff>;
  369. qcom,mdss-dsi-bl-min-level = <1>;
  370. qcom,mdss-dsi-bl-max-level = < 15>;
  371. qcom,mdss-dsi-interleave-mode = <0>;
  372. qcom,mdss-dsi-panel-type = "dsi_video_mode";
  373. qcom,mdss-dsi-te-check-enable;
  374. qcom,mdss-dsi-te-using-te-pin;
  375. qcom,mdss-dsi-te-dcs-command = <1>;
  376. qcom,mdss-dsi-wr-mem-continue = <0x3c>;
  377. qcom,mdss-dsi-wr-mem-start = <0x2c>;
  378. qcom,mdss-dsi-te-pin-select = <1>;
  379. qcom,mdss-dsi-h-sync-pulse = <1>;
  380. qcom,mdss-dsi-hfp-power-mode;
  381. qcom,mdss-dsi-hbp-power-mode;
  382. qcom,mdss-dsi-hsa-power-mode;
  383. qcom,mdss-dsi-bllp-eof-power-mode;
  384. qcom,mdss-dsi-bllp-power-mode;
  385. qcom,mdss-dsi-last-line-interleave;
  386. qcom,mdss-dsi-traffic-mode = <0>;
  387. qcom,mdss-dsi-virtual-channel-id = <0>;
  388. qcom,mdss-dsi-color-order = <0>;
  389. qcom,mdss-dsi-lane-0-state;
  390. qcom,mdss-dsi-lane-1-state;
  391. qcom,mdss-dsi-lane-2-state;
  392. qcom,mdss-dsi-lane-3-state;
  393. qcom,mdss-dsi-lane-map = <0>;
  394. qcom,mdss-dsi-t-clk-post = <0x20>;
  395. qcom,mdss-dsi-t-clk-pre = <0x2c>;
  396. qcom,mdss-dsi-stream = <0>;
  397. qcom,mdss-dsi-mdp-trigger = <0>;
  398. qcom,mdss-dsi-dma-trigger = <0>;
  399. qcom,mdss-dsi-panel-framerate = <60>;
  400. qcom,mdss-dsi-panel-clockrate = <424000000>;
  401. qcom,mdss-dsi-panel-timings = [7d 25 1d 00 37 33
  402. 22 27 1e 03 04 00];
  403. qcom,mdss-dsi-on-command = [32 01 00 00 00 00 02 00 00
  404. 29 01 00 00 10 00 02 FF 99];
  405. qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
  406. qcom,mdss-dsi-off-command = [22 01 00 00 00 00 00];
  407. qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
  408. qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
  409. qcom,mdss-dsi-pan-enable-dynamic-fps;
  410. qcom,mdss-dsi-pan-fps-update = "dfps_suspend_resume_mode";
  411. qcom,min-refresh-rate = <30>;
  412. qcom,max-refresh-rate = <60>;
  413. qcom,mdss-dsi-bl-pmic-bank-select = <0>;
  414. qcom,mdss-dsi-bl-pmic-pwm-frequency = <0>;
  415. qcom,mdss-dsi-pwm-gpio = <&pm8941_mpps 5 0>;
  416. qcom,mdss-pan-physical-width-dimension = <60>;
  417. qcom,mdss-pan-physical-height-dimension = <140>;
  418. qcom,mdss-dsi-panel-mode-gpio-state = "low";
  419. qcom,partial-update-enabled;
  420. qcom,mdss-dsi-reset-sequence = <1 2>, <0 10>, <1 10>;
  421. qcom,mdss-dsi-lp11-init;
  422. qcom,mdss-dsi-init-delay-us = <100>;
  423. mdss-dsi-rx-eot-ignore;
  424. mdss-dsi-tx-eot-append;
  425. qcom,ulps-enabled;
  426. qcom,mdss-tear-check-sync-cfg-height = <0xfff0>;
  427. qcom,mdss-tear-check-sync-init-val = <1280>;
  428. qcom,mdss-tear-check-sync-threshold-start = <4>;
  429. qcom,mdss-tear-check-sync-threshold-continue = <4>;
  430. qcom,mdss-tear-check-start-pos = <1280>;
  431. qcom,mdss-tear-check-rd-ptr-trigger-intr = <1281>;
  432. qcom,mdss-tear-check-frame-rate = <6000>;
  433. qcom,panel-roi-alignment = <4 4 2 2 20 20>;
  434. qcom,dynamic-mode-switch-enabled;
  435. qcom,video-to-cmd-mode-switch-commands = [15 01 00 00 00 00 02 C2 0B
  436. 15 01 00 00 00 00 02 C2 08];
  437. qcom,cmd-to-video-mode-switch-commands = [15 01 00 00 00 00 02 C2 03];
  438. qcom,esd-check-enabled;
  439. qcom,mdss-dsi-panel-status-command = [06 01 00 01 05 00 02 0A 08];
  440. qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode";
  441. qcom,mdss-dsi-panel-status-check-mode = "reg_read";
  442. qcom,mdss-dsi-panel-status-value = <0x9c>;
  443. };
  444. };