Ray Zhang | e3c3105 | 2013-05-28 17:36:55 +0800 | [diff] [blame] | 1 | /* 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 | &soc { |
| 14 | qcom,mdss_dsi_hx8394a_720p_video { |
| 15 | compatible = "qcom,mdss-dsi-panel"; |
| 16 | label = "hx8394a 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 = <59 60 79 10 2 7>; |
| 24 | qcom,mdss-pan-underflow-clr = <0xff>; |
| 25 | qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; |
| 26 | qcom,mdss-pan-bl-levels = <1 4095>; |
| 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 = <0x2d 0x1f>; |
| 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-dsi-frame-rate = <60>; |
| 42 | qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regualotor settings */ |
| 43 | 20 00 01]; |
| 44 | qcom,panel-phy-timingSettings = [8d 24 19 00 34 34 |
| 45 | 1d 26 2a 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 = [39 01 00 00 00 00 04 |
| 55 | b9 ff 83 94 |
| 56 | 39 01 00 00 00 00 05 |
| 57 | c7 00 10 00 10 |
| 58 | 39 01 00 00 00 00 02 |
| 59 | bc 07 |
| 60 | 39 01 00 00 00 00 02 |
| 61 | ba 13 |
| 62 | 39 01 00 00 00 00 10 |
| 63 | b1 01 00 07 83 01 |
| 64 | 12 0f 32 38 29 29 |
| 65 | 50 02 00 00 |
| 66 | 39 01 00 00 00 00 07 |
| 67 | b2 00 c8 09 05 00 |
| 68 | 71 |
| 69 | 39 01 00 00 00 00 02 |
| 70 | cc 05 |
| 71 | 05 01 00 00 00 00 02 00 00 |
| 72 | 39 01 00 00 00 00 35 |
| 73 | d5 00 00 00 00 0a |
| 74 | 00 01 00 00 00 33 |
| 75 | 00 23 45 67 01 01 |
| 76 | 23 88 88 88 88 88 |
| 77 | 88 88 99 99 99 88 |
| 78 | 88 99 88 54 32 10 |
| 79 | 76 32 10 88 88 88 |
| 80 | 88 88 88 88 99 99 |
| 81 | 99 88 88 88 99 |
| 82 | 39 01 00 00 00 00 17 |
| 83 | b4 80 08 32 10 00 |
| 84 | 32 15 08 32 12 20 |
| 85 | 33 05 4c 05 37 05 |
| 86 | 3f 1e 5f 5f 06 |
| 87 | 39 01 00 00 00 00 02 |
| 88 | b6 00 |
| 89 | 39 01 00 00 00 00 23 |
| 90 | e0 01 05 07 25 35 |
| 91 | 3f 0b 32 04 09 0e |
| 92 | 10 13 10 14 16 1b |
| 93 | 01 05 07 25 35 3f |
| 94 | 0b 32 04 09 0e 10 |
| 95 | 13 10 14 16 1b |
| 96 | 05 01 00 00 00 00 02 00 00 |
| 97 | 39 01 00 00 00 00 04 |
| 98 | bf 06 00 10 |
| 99 | 05 01 00 00 c8 00 02 11 00 |
| 100 | 05 01 00 00 32 00 02 29 00]; |
| 101 | |
| 102 | qcom,on-cmds-dsi-state = "DSI_LP_MODE"; |
| 103 | qcom,panel-off-cmds = [05 01 00 00 0a 00 02 28 00 |
| 104 | 05 01 00 00 96 00 02 10 00]; |
| 105 | qcom,off-cmds-dsi-state = "DSI_HS_MODE"; |
| 106 | }; |
| 107 | }; |