arm: boot: dts: Add 8x10 QRD panels with GCDB format

Add 8x10 QRD panels with GCDB tag information to use
unified panel utility. These QRD panels contains
same panel configuration as current dsi-v2-panel-*
configuration.

Change-Id: I3050c241f96d28dca87d8d5a9b7809deaae2190a
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
diff --git a/arch/arm/boot/dts/dsi-panel-hx8379a-wvga-video.dtsi b/arch/arm/boot/dts/dsi-panel-hx8379a-wvga-video.dtsi
new file mode 100644
index 0000000..645e91b
--- /dev/null
+++ b/arch/arm/boot/dts/dsi-panel-hx8379a-wvga-video.dtsi
@@ -0,0 +1,76 @@
+/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+/*---------------------------------------------------------------------------
+ * This file is autogenerated file using gcdb parser. Please do not edit it.
+ * Update input XML file to add a new entry or update variable in this file
+ * VERSION = "1.0"
+ *---------------------------------------------------------------------------*/
+&mdss_mdp {
+	dsi_hx8379a_wvga_vid: qcom,mdss_dsi_hx8379a_wvga_video {
+		qcom,mdss-dsi-panel-name = "HX8379A wvga video mode dsi panel";
+		qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
+		qcom,mdss-dsi-panel-type = "dsi_video_mode";
+		qcom,mdss-dsi-panel-destination = "display_1";
+		qcom,mdss-dsi-panel-framerate = <60>;
+		qcom,mdss-dsi-virtual-channel-id = <0>;
+		qcom,mdss-dsi-stream = <0>;
+		qcom,mdss-dsi-panel-width = <480>;
+		qcom,mdss-dsi-panel-height = <800>;
+		qcom,mdss-dsi-h-front-porch = <90>;
+		qcom,mdss-dsi-h-back-porch = <90>;
+		qcom,mdss-dsi-h-pulse-width = <17>;
+		qcom,mdss-dsi-h-sync-skew = <0>;
+		qcom,mdss-dsi-v-back-porch = <2>;
+		qcom,mdss-dsi-v-front-porch = <11>;
+		qcom,mdss-dsi-v-pulse-width = <3>;
+		qcom,mdss-dsi-h-left-border = <0>;
+		qcom,mdss-dsi-h-right-border = <0>;
+		qcom,mdss-dsi-v-top-border = <0>;
+		qcom,mdss-dsi-v-bottom-border = <0>;
+		qcom,mdss-dsi-bpp = <24>;
+		qcom,mdss-dsi-color-order = <0>;
+		qcom,mdss-dsi-underflow-color = <0xff>;
+		qcom,mdss-dsi-border-color = <0>;
+		qcom,mdss-dsi-on-command = [29 01 00 00 01 00 04 B9 FF 83 79
+			23 01 00 00 01 00 02 BA 51
+			29 01 00 00 01 00 14 B1 00 50 44 EA 8D 08 11 0F 0F 24 2C 9A 1A 42 0B 6E F1 00 E6
+			29 01 00 00 01 00 0e B2 00 00 3C 08 04 19 22 00 FF 08 04 19 20
+			29 01 00 00 01 00 20 B4 80 08 00 32 10 03 32 13 70 32 10 08 37 01 28 05 37 08 3C 20 44 44 08 00 40 08 28 08 30 30 04
+			23 01 00 00 01 00 02 cc 02
+			29 01 00 00 01 00 30 D5 00 00 08 00 01 05 00 03 00 88 88 88 88 23 01 67 45 02 13 88 88 88 88 88 88 88 88 88 88 54 76 10 32 31 20 88 88 88 88 88 88 00 00 00 00 00 00
+			29 01 00 00 01 00 24 E0 79 00 00 02 1C 1F 33 28 3E 07 0E 0F 15 17 16 16 13 19 00 00 02 1C 1F 33 28 3E 07 0E 0F 15 17 16 16 13 19
+			29 01 00 00 01 00 05 B6 00 A6 00 A6
+			05 01 00 00 96 00 02 11 00
+			05 01 00 00 78 00 02 29 00];
+		qcom,mdss-dsi-off-command = [05 01 00 00 32 00 02 28 00
+					05 01 00 00 78 00 02 10 00];
+		qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
+		qcom,mdss-dsi-off-command-state = "dsi_lp_mode";
+		qcom,mdss-dsi-h-sync-pulse = <1>;
+		qcom,mdss-dsi-traffic-mode = <2>;
+		qcom,mdss-dsi-lane-map = <1>;
+		qcom,mdss-dsi-bllp-eof-power-mode;
+		qcom,mdss-dsi-bllp-power-mode;
+		qcom,mdss-dsi-lane-0-state;
+		qcom,mdss-dsi-lane-1-state;
+		qcom,mdss-dsi-panel-timings = [5d 12 0c 00 33 39 10 16 15 03 04 00];
+		qcom,mdss-dsi-t-clk-post = <0x04>;
+		qcom,mdss-dsi-t-clk-pre = <0x1b>;
+		qcom,mdss-dsi-bl-min-level = <1>;
+		qcom,mdss-dsi-bl-max-level = <255>;
+		qcom,mdss-dsi-dma-trigger = <4>;
+		qcom,mdss-dsi-mdp-trigger = <0>;
+		qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
+
+	};
+};
diff --git a/arch/arm/boot/dts/dsi-panel-otm8018b-fwvga-video.dtsi b/arch/arm/boot/dts/dsi-panel-otm8018b-fwvga-video.dtsi
new file mode 100644
index 0000000..74e7ffc
--- /dev/null
+++ b/arch/arm/boot/dts/dsi-panel-otm8018b-fwvga-video.dtsi
@@ -0,0 +1,149 @@
+/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+/*---------------------------------------------------------------------------
+ * This file is autogenerated file using gcdb parser. Please do not edit it.
+ * Update input XML file to add a new entry or update variable in this file
+ * VERSION = "1.0"
+ *---------------------------------------------------------------------------*/
+&mdss_mdp {
+	dsi_otm8018b_fwvga_vid: qcom,mdss_dsi_otm8018b_fwvga_video {
+		qcom,mdss-dsi-panel-name = "OTM8018b fwvga video mode dsi panel";
+		qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
+		qcom,mdss-dsi-panel-type = "dsi_video_mode";
+		qcom,mdss-dsi-panel-destination = "display_1";
+		qcom,mdss-dsi-panel-framerate = <60>;
+		qcom,mdss-dsi-virtual-channel-id = <0>;
+		qcom,mdss-dsi-stream = <0>;
+		qcom,mdss-dsi-panel-width = <480>;
+		qcom,mdss-dsi-panel-height = <800>;
+		qcom,mdss-dsi-h-front-porch = <80>;
+		qcom,mdss-dsi-h-back-porch = <54>;
+		qcom,mdss-dsi-h-pulse-width = <8>;
+		qcom,mdss-dsi-h-sync-skew = <0>;
+		qcom,mdss-dsi-v-back-porch = <16>;
+		qcom,mdss-dsi-v-front-porch = <12>;
+		qcom,mdss-dsi-v-pulse-width = <2>;
+		qcom,mdss-dsi-h-left-border = <0>;
+		qcom,mdss-dsi-h-right-border = <0>;
+		qcom,mdss-dsi-v-top-border = <0>;
+		qcom,mdss-dsi-v-bottom-border = <0>;
+		qcom,mdss-dsi-bpp = <24>;
+		qcom,mdss-dsi-color-order = <0>;
+		qcom,mdss-dsi-underflow-color = <0xff>;
+		qcom,mdss-dsi-border-color = <0>;
+		qcom,mdss-dsi-on-command = [29 01 00 00 00 00 02 00 00
+					29 01 00 00 00 00 04 ff 80 09 01
+					29 01 00 00 00 00 02 00 80
+					29 01 00 00 00 00 03 ff 80 09
+					29 01 00 00 00 00 02 00 80
+					29 01 00 00 00 00 02 d6 48
+					29 01 00 00 00 00 02 00 03
+					29 01 00 00 00 00 02 ff 01
+					29 01 00 00 00 00 02 00 B4
+					29 01 00 00 00 00 02 C0 10
+					29 01 00 00 00 00 02 00 82
+					29 01 00 00 00 00 02 C5 A3
+					29 01 00 00 00 00 02 00 90
+					29 01 00 00 00 00 03 C5 96 87
+					29 01 00 00 00 00 02 00 00
+					29 01 00 00 00 00 03 D8 74 72
+					29 01 00 00 00 00 02 00 00
+					29 01 00 00 00 00 02 D9 56
+					29 01 00 00 00 00 02 00 00
+					29 01 00 00 00 00 11 E1 00 06 0A 07 03 16 08 0A 04 06 07 08 0F 23 22 05
+					29 01 00 00 00 00 02 00 00
+					29 01 00 00 00 00 11 E2 00 06 0A 07 03 16 08 0A 04 06 07 08 0F 23 22 05
+					29 01 00 00 00 00 02 00 81
+					29 01 00 00 00 00 02 C1 77
+					29 01 00 00 00 00 02 00 A0
+					29 01 00 00 00 00 02 C1 EA
+					29 01 00 00 00 00 02 00 A1
+					29 01 00 00 00 00 02 C1 08
+					29 01 00 00 00 00 02 00 89
+					29 01 00 00 00 00 02 C4 08
+					29 01 00 00 00 00 02 00 81
+					29 01 00 00 00 00 02 C4 83
+					29 01 00 00 00 00 02 00 92
+					29 01 00 00 00 00 02 C5 01
+					29 01 00 00 00 00 02 00 B1
+					29 01 00 00 00 00 02 C5 A9
+					29 01 00 00 00 00 02 00 92
+					29 01 00 00 00 00 02 B3 45
+					29 01 00 00 00 00 02 00 90
+					29 01 00 00 00 00 02 B3 02
+					29 01 00 00 00 00 02 00 80
+					29 01 00 00 00 00 06 C0 00 58 00 14 16
+					29 01 00 00 00 00 02 00 80
+					29 01 00 00 00 00 02 C4 30
+					29 01 00 00 00 00 02 00 90
+					29 01 00 00 00 00 07 C0 00 44 00 00 00 03
+					29 01 00 00 00 00 02 00 A6
+					29 01 00 00 00 00 04 C1 01 00 00
+					29 01 00 00 00 00 02 00 80
+					29 01 00 00 00 00 0D CE 87 03 00 85 03 00 86 03 00 84 03 00
+					29 01 00 00 00 00 02 00 A0
+					29 01 00 00 00 00 0f CE 38 03 03 58 00 00 00 38 02 03 59 00 00 00
+					29 01 00 00 00 00 02 00 B0
+					29 01 00 00 00 00 0f CE 38 01 03 5A 00 00 00 38 00 03 5B 00 00 00
+					29 01 00 00 00 00 02 00 C0
+					29 01 00 00 00 00 0f CE 30 00 03 5C 00 00 00 30 01 03 5D 00 00 00
+					29 01 00 00 00 00 02 00 D0
+					29 01 00 00 00 00 0f CE 30 02 03 5E 00 00 00 30 03 03 5F 00 00 00
+					29 01 00 00 00 00 02 00 C7
+					29 01 00 00 00 00 02 CF 00
+					29 01 00 00 00 00 02 00 C9
+					29 01 00 00 00 00 02 CF 00
+					29 01 00 00 00 00 02 00 D0
+					29 01 00 00 00 00 02 CF 00
+					29 01 00 00 00 00 02 00 C4
+					29 01 00 00 00 00 07 CB 04 04 04 04 04 04
+					29 01 00 00 00 00 02 00 D9
+					29 01 00 00 00 00 07 CB 04 04 04 04 04 04
+					29 01 00 00 00 00 02 00 84
+					29 01 00 00 00 00 07 CC 0C 0A 10 0E 03 04
+					29 01 00 00 00 00 02 00 9E
+					29 01 00 00 00 00 02 CC 0B
+					29 01 00 00 00 00 02 00 A0
+					29 01 00 00 00 00 06 CC 09 0F 0D 01 02
+					29 01 00 00 00 00 02 00 B4
+					29 01 00 00 00 00 07 CC 0D 0F 09 0B 02 01
+					29 01 00 00 00 00 02 00 CE
+					29 01 00 00 00 00 02 CC 0E
+					29 01 00 00 00 00 02 00 D0
+					29 01 00 00 00 00 06 CC 10 0A 0C 04 03
+					29 01 00 00 00 00 02 00 00
+					29 01 00 00 00 00 04 ff ff ff ff
+					05 01 00 00 78 00 02 11 00
+					05 01 00 00 32 00 02 29 00];
+		qcom,mdss-dsi-off-command = [05 01 00 00 32 00 02 28 00
+					05 01 00 00 78 00 02 10 00];
+		qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
+		qcom,mdss-dsi-off-command-state = "dsi_lp_mode";
+		qcom,mdss-dsi-h-sync-pulse = <1>;
+		qcom,mdss-dsi-traffic-mode = <2>;
+		qcom,mdss-dsi-lane-map = <1>;
+		qcom,mdss-dsi-bllp-eof-power-mode;
+		qcom,mdss-dsi-bllp-power-mode;
+		qcom,mdss-dsi-lane-0-state;
+		qcom,mdss-dsi-lane-1-state;
+		qcom,mdss-dsi-panel-timings = [8B 1F 14 00 45 4A 19 23 23 03 04 00];
+		qcom,mdss-dsi-t-clk-post = <0x04>;
+		qcom,mdss-dsi-t-clk-pre = <0x1b>;
+		qcom,mdss-dsi-bl-min-level = <1>;
+		qcom,mdss-dsi-bl-max-level = <255>;
+		qcom,mdss-dsi-dma-trigger = <4>;
+		qcom,mdss-dsi-mdp-trigger = <0>;
+		qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
+
+	};
+};