Asaf Penso | 69b2c9e | 2013-04-11 18:13:50 -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 | |
| 13 | / { |
| 14 | qcom,mdss_dsi_sharp_qhd_video { |
| 15 | compatible = "qcom,mdss-dsi-panel"; |
| 16 | label = "sharp QHD LS043T1LE01 video mode dsi panel"; |
| 17 | status = "disable"; |
| 18 | qcom,dsi-ctrl-phandle = <&mdss_dsi0>; |
| 19 | qcom,enable-gpio = <&msmgpio 58 0>; |
| 20 | qcom,rst-gpio = <&pm8941_gpios 19 0>; |
| 21 | qcom,mdss-pan-res = <540 960>; |
| 22 | qcom,mdss-pan-bpp = <24>; |
| 23 | qcom,mdss-pan-dest = "display_1"; |
| 24 | qcom,mdss-pan-porch-values = <80 32 48 15 10 3>; /* HBP, HPW, HFP, VBP, VPW, VFP */ |
| 25 | qcom,mdss-pan-underflow-clr = <0xff>; |
| 26 | qcom,mdss-pan-bl-ctrl = "bl_ctrl_wled"; |
| 27 | qcom,mdss-pan-bl-levels = <1 4095>; |
| 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 = <0>; |
| 33 | qcom,mdss-pan-dsi-dst-format = <3>; |
| 34 | qcom,mdss-pan-dsi-vc = <0>; |
| 35 | qcom,mdss-pan-dsi-rgb-swap = <2>; |
| 36 | qcom,mdss-pan-dsi-data-lanes = <1 1 0 0>; |
| 37 | qcom,mdss-pan-dsi-dlane-swap = <0>; |
| 38 | qcom,mdss-pan-dsi-t-clk = <0x1c 0x04>; |
| 39 | qcom,mdss-pan-dsi-stream = <0>; |
| 40 | qcom,mdss-pan-dsi-mdp-tr = <0x04>; |
| 41 | qcom,mdss-pan-dsi-dma-tr = <0x04>; |
| 42 | qcom,mdss-pan-frame-rate = <60>; |
| 43 | qcom,panel-phy-regulatorSettings = [07 09 03 00 /* Regulator settings */ |
| 44 | 20 00 01]; |
| 45 | qcom,panel-phy-timingSettings = [46 1d 20 00 39 3a |
| 46 | 21 21 32 03 04 00]; |
| 47 | qcom,panel-phy-strengthCtrl = [ff 06]; |
| 48 | qcom,panel-phy-bistCtrl = [00 00 b1 ff /* BIST Ctrl settings */ |
| 49 | 00 00]; |
| 50 | qcom,panel-phy-laneConfig = [00 00 00 00 00 00 00 01 97 /* lane0 config */ |
| 51 | 00 00 00 00 05 00 00 01 97 /* lane1 config */ |
| 52 | 00 00 00 00 0a 00 00 01 97 /* lane2 config */ |
| 53 | 00 00 00 00 0f 00 00 01 97 /* lane3 config */ |
| 54 | 00 c0 00 00 00 00 00 01 bb]; /* Clk ln config */ |
| 55 | qcom,panel-on-cmds = [05 01 00 00 32 02 01 00 /* sw reset */ |
| 56 | 05 01 00 00 0a 02 11 00 /* exit sleep */ |
| 57 | 15 01 00 00 0a 02 53 2c /* backlight on */ |
| 58 | 15 01 00 00 0a 02 51 ff /* brightness max */ |
| 59 | 05 01 00 00 0a 02 29 00 /* display on */ |
| 60 | 15 01 00 00 0a 02 ae 03 /* set num of lanes */ |
| 61 | 15 01 00 00 0a 02 3a 77 /* rgb_888 */]; |
| 62 | qcom,on-cmds-dsi-state = "DSI_LP_MODE"; |
| 63 | qcom,panel-off-cmds = [05 01 00 00 0a 02 28 00 /* display off */ |
| 64 | 05 01 00 00 78 02 10 00 /* enter sleep */]; |
| 65 | qcom,off-cmds-dsi-state = "DSI_HS_MODE"; |
| 66 | }; |
| 67 | }; |