quic_shuoy | 2edd274 | 2013-05-16 20:06:03 -0700 | [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 | |
Xiaoming Zhou | 7004fe2 | 2013-08-01 17:54:54 -0400 | [diff] [blame] | 13 | &soc { |
quic_shuoy | 2edd274 | 2013-05-16 20:06:03 -0700 | [diff] [blame] | 14 | qcom,dsi_v2_hx8379a_wvga_video { |
| 15 | compatible = "qcom,dsi-panel-v2"; |
| 16 | label = "HX8379A WVGA video mode dsi panel"; |
| 17 | qcom,dsi-ctrl-phandle = <&mdss_dsi0>; |
| 18 | qcom,rst-gpio = <&msmgpio 41 0>; |
| 19 | vdda-supply = <&pm8110_l19>; |
| 20 | vddio-supply=<&pm8110_l14>; |
| 21 | qcom,mdss-pan-res = <480 800>; |
| 22 | qcom,mdss-pan-bpp = <24>; |
| 23 | qcom,mdss-pan-dest = "display_1"; |
| 24 | qcom,mdss-pan-porch-values = <90 17 90 2 3 11>; |
| 25 | qcom,mdss-pan-underflow-clr = <0xff>; |
| 26 | qcom,mdss-pan-bl-levels = <1 255>; |
| 27 | qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; |
| 28 | qcom,mdss-pan-dsi-mode = <0>; |
| 29 | qcom,mdss-pan-dsi-h-pulse-mode = <1>; |
| 30 | qcom,mdss-pan-dsi-h-power-stop = <0 0 0>; |
| 31 | qcom,mdss-pan-dsi-bllp-power-stop = <1 1>; |
| 32 | qcom,mdss-pan-dsi-traffic-mode = <2>; |
| 33 | qcom,mdss-pan-dsi-dst-format = <3>; |
| 34 | qcom,mdss-pan-dsi-vc = <0>; |
| 35 | qcom,mdss-pan-dsi-rgb-swap = <0>; |
| 36 | qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; |
| 37 | qcom,mdss-pan-dsi-dlane-swap = <1>; |
| 38 | qcom,mdss-pan-dsi-t-clk = <0x1b 0x04>; |
| 39 | qcom,mdss-pan-dsi-stream = <0>; |
| 40 | qcom,mdss-pan-dsi-mdp-tr = <0x0>;/*todo*/ |
| 41 | qcom,mdss-pan-dsi-dma-tr = <0x04>; |
| 42 | qcom,mdss-pan-dsi-frame-rate = <60>; |
Xiaoming Zhou | 412352f | 2013-06-28 11:06:02 -0400 | [diff] [blame] | 43 | qcom,panel-phy-regulatorSettings =[02 08 05 00 20 03]; |
quic_shuoy | 2edd274 | 2013-05-16 20:06:03 -0700 | [diff] [blame] | 44 | qcom,panel-phy-timingSettings = [5D 12 0C 00 33 39 |
| 45 | 10 16 15 03 04 00]; |
| 46 | qcom,panel-phy-strengthCtrl = [ff 06]; |
| 47 | qcom,panel-phy-bistCtrl = [03 03 00 00 0f 00]; |
| 48 | qcom,panel-phy-laneConfig = |
| 49 | [80 45 00 00 01 66 /*lane0**/ |
| 50 | 80 45 00 00 01 66 /*lane1*/ |
| 51 | 80 45 00 00 01 66 /*lane2*/ |
| 52 | 80 45 00 00 01 66 /*lane3*/ |
| 53 | 40 67 00 00 01 88]; /*Clk*/ |
| 54 | |
| 55 | qcom,on-cmds-dsi-state = "DSI_LP_MODE"; |
| 56 | qcom,panel-on-cmds = [ |
| 57 | 29 01 00 00 01 04 |
| 58 | B9 FF 83 79 |
| 59 | 23 01 00 00 01 02 |
| 60 | BA 51 |
| 61 | 29 01 00 00 01 14 |
| 62 | B1 00 50 44 |
| 63 | EA 8D 08 11 |
| 64 | 0F 0F 24 2C |
| 65 | 9A 1A 42 0B |
| 66 | 6E F1 00 E6 |
| 67 | 29 01 00 00 01 0e |
| 68 | B2 00 00 3C |
| 69 | 08 04 19 22 |
| 70 | 00 FF 08 04 |
| 71 | 19 20 |
| 72 | 29 01 00 00 01 20 |
| 73 | B4 80 08 00 |
| 74 | 32 10 03 32 |
| 75 | 13 70 32 10 |
| 76 | 08 37 01 28 |
| 77 | 05 37 08 3C |
| 78 | 20 44 44 08 |
| 79 | 00 40 08 28 |
| 80 | 08 30 30 04 |
| 81 | 23 01 00 00 01 02 |
| 82 | cc 02 |
| 83 | 29 01 00 00 01 30 |
| 84 | D5 00 00 08 |
| 85 | 00 01 05 00 |
| 86 | 03 00 88 88 |
| 87 | 88 88 23 01 |
| 88 | 67 45 02 13 |
| 89 | 88 88 88 88 |
| 90 | 88 88 88 88 |
| 91 | 88 88 54 76 |
| 92 | 10 32 31 20 |
| 93 | 88 88 88 88 |
| 94 | 88 88 00 00 |
| 95 | 00 00 00 00 |
| 96 | 29 01 00 00 01 24 |
| 97 | E0 79 00 00 |
| 98 | 02 1C 1F 33 |
| 99 | 28 3E 07 0E |
| 100 | 0F 15 17 16 |
| 101 | 16 13 19 00 |
| 102 | 00 02 1C 1F |
| 103 | 33 28 3E 07 |
| 104 | 0E 0F 15 17 |
| 105 | 16 16 13 19 |
| 106 | 29 01 00 00 01 05 |
| 107 | B6 00 A6 00 A6 |
| 108 | 05 01 00 00 96 02 |
| 109 | 11 00 |
| 110 | 05 01 00 00 78 02 |
| 111 | 29 00 |
| 112 | ]; |
| 113 | qcom,panel-off-cmds = [05 01 00 00 32 02 28 00 |
| 114 | 05 01 00 00 78 02 10 00]; |
| 115 | qcom,off-cmds-dsi-state = "DSI_LP_MODE"; |
| 116 | }; |
| 117 | }; |