Merge "dev: gcdb: change panel ili9806e driving method to line inversion"
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index ea10323..91585cb 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -1983,6 +1983,22 @@
void cmd_erase(const char *arg, void *data, unsigned sz)
{
+#if VERIFIED_BOOT
+ if(!device.is_unlocked && !device.is_verified)
+ {
+ fastboot_fail("device is locked. Cannot erase");
+ return;
+ }
+ if(!device.is_unlocked && device.is_verified)
+ {
+ if(!boot_verify_flash_allowed(arg))
+ {
+ fastboot_fail("cannot flash this partition in verified state");
+ return;
+ }
+ }
+#endif
+
if(target_is_emmc_boot())
cmd_erase_mmc(arg, data, sz);
else
diff --git a/dev/gcdb/display/include/panel_truly_1080p_cmd.h b/dev/gcdb/display/include/panel_truly_1080p_cmd.h
new file mode 100644
index 0000000..8ed9c7e
--- /dev/null
+++ b/dev/gcdb/display/include/panel_truly_1080p_cmd.h
@@ -0,0 +1,332 @@
+/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ * * Neither the name of The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#ifndef _PANEL_TRULY_1080P_CMD_H_
+
+#define _PANEL_TRULY_1080P_CMD_H_
+/*---------------------------------------------------------------------------*/
+/* HEADER files */
+/*---------------------------------------------------------------------------*/
+#include "panel.h"
+
+/*---------------------------------------------------------------------------*/
+/* Panel configuration */
+/*---------------------------------------------------------------------------*/
+
+static struct panel_config truly_1080p_cmd_panel_data = {
+ "qcom,mdss_dsi_truly_1080p_cmd", "dsi:0:", "qcom,mdss-dsi-panel",
+ 11, 1, "DISPLAY_1", 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, NULL
+};
+
+/*---------------------------------------------------------------------------*/
+/* Panel resolution */
+/*---------------------------------------------------------------------------*/
+static struct panel_resolution truly_1080p_cmd_panel_res = {
+ 1080, 1920, 96, 64, 16, 0, 4, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
+};
+
+/*---------------------------------------------------------------------------*/
+/* Panel Color Information */
+/*---------------------------------------------------------------------------*/
+static struct color_info truly_1080p_cmd_color = {
+ 24, 0, 0xff, 0, 0, 0
+};
+
+/*---------------------------------------------------------------------------*/
+/* Panel Command information */
+/*---------------------------------------------------------------------------*/
+static char truly_1080p_cmd_on_cmd0[] = {
+ 0xd6, 0x01, 0x023, 0x80,
+};
+
+static char truly_1080p_cmd_on_cmd1[] = {
+ 0x35, 0x00, 0x015, 0x80,
+};
+
+static char truly_1080p_cmd_on_cmd2[] = {
+ 0x51, 0xff, 0x15, 0x80,
+};
+
+
+static char truly_1080p_cmd_on_cmd3[] = {
+ 0x53, 0x2c, 0x15, 0x80,
+};
+
+
+static char truly_1080p_cmd_on_cmd4[] = {
+ 0x55, 0x03, 0x15, 0x80,
+};
+
+
+static char truly_1080p_cmd_on_cmd5[] = {
+ 0x29, 0x00, 0x05, 0x80,
+};
+
+
+static char truly_1080p_cmd_on_cmd6[] = {
+ 0xb0, 0x04, 0x23, 0x80,
+};
+
+
+static char truly_1080p_cmd_on_cmd7[] = {
+ 0x07, 0x00, 0x29, 0xC0,
+ 0xb3, 0x04, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0xFF,
+};
+
+
+static char truly_1080p_cmd_on_cmd8[] = {
+ 0x03, 0x00, 0x29, 0xC0,
+ 0xb6, 0x3a, 0xd3, 0xFF,
+};
+
+
+static char truly_1080p_cmd_on_cmd9[] = {
+ 0x03, 0x00, 0x29, 0xc0,
+ 0xc0, 0x00, 0x00, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd10[] = {
+ 0x23, 0x00, 0x29, 0xC0,
+ 0xc1, 0x84, 0x60, 0x10,
+ 0xeb, 0xff, 0x6f, 0xce,
+ 0xff, 0xff, 0x17, 0x02,
+ 0x58, 0x73, 0xae, 0xb1,
+ 0x20, 0xc6, 0xff, 0xff,
+ 0x1f, 0xf3, 0xff, 0x5f,
+ 0x10, 0x10, 0x10, 0x10,
+ 0x00, 0x02, 0x01, 0x22,
+ 0x22, 0x00, 0x01, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd11[] = {
+ 0x08, 0x00, 0x29, 0xC0,
+ 0xc2, 0x31, 0xf7, 0x80,
+ 0x06, 0x08, 0x00, 0x00,
+};
+
+
+static char truly_1080p_cmd_on_cmd12[] = {
+ 0x17, 0x00, 0x29, 0xC0,
+ 0xc4, 0x70, 0x00, 0x00,
+ 0x00, 0x00, 0x04, 0x00,
+ 0x00, 0x00, 0x0c, 0x06,
+ 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x04, 0x00, 0x00,
+ 0x00, 0x0c, 0x06, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd13[] = {
+ 0x29, 0x00, 0x29, 0xC0,
+ 0xc6, 0x78, 0x69, 0x00,
+ 0x69, 0x00, 0x69, 0x00,
+ 0x00, 0x00, 0x00, 0x00,
+ 0x69, 0x00, 0x69, 0x00,
+ 0x69, 0x10, 0x19, 0x07,
+ 0x00, 0x78, 0x00, 0x69,
+ 0x00, 0x69, 0x00, 0x69,
+ 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x69, 0x00, 0x69,
+ 0x00, 0x69, 0x10, 0x19,
+ 0x07, 0xff, 0xff, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd14[] = {
+ 0x0a, 0x00, 0x29, 0xC0,
+ 0xcb, 0x31, 0xfc, 0x3f,
+ 0x8c, 0x00, 0x00, 0x00,
+ 0x00, 0xc0, 0xff, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd15[] = {
+ 0xcc, 0x0b, 0x23, 0x80,
+};
+
+
+static char truly_1080p_cmd_on_cmd16[] = {
+ 0x0b, 0x00, 0x29, 0xc0,
+ 0xd0, 0x11, 0x81, 0xbb,
+ 0x1e, 0x1e, 0x4c, 0x19,
+ 0x19, 0x0c, 0x00, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd17[] = {
+ 0x1a, 0x00, 0x29, 0xC0,
+ 0xd3, 0x1b, 0x33, 0xbb,
+ 0xbb, 0xb3, 0x33, 0x33,
+ 0x33, 0x00, 0x01, 0x00,
+ 0xa0, 0xd8, 0xa0, 0x0d,
+ 0x4e, 0x4e, 0x33, 0x3b,
+ 0x22, 0x72, 0x07, 0x3d,
+ 0xbf, 0x33, 0xff, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd18[] = {
+ 0x08, 0x00, 0x29, 0xc0,
+ 0xd5, 0x06, 0x00, 0x00,
+ 0x01, 0x51, 0x01, 0x32,
+};
+
+
+static char truly_1080p_cmd_on_cmd19[] = {
+ 0x1f, 0x00, 0x29, 0xC0,
+ 0xc7, 0x01, 0x0a, 0x11,
+ 0x18, 0x26, 0x33, 0x3e,
+ 0x50, 0x38, 0x42, 0x52,
+ 0x60, 0x67, 0x6e, 0x77,
+ 0x01, 0x0a, 0x11, 0x18,
+ 0x26, 0x33, 0x3e, 0x50,
+ 0x38, 0x42, 0x52, 0x60,
+ 0x67, 0x6e, 0x77, 0xff,
+};
+
+
+static char truly_1080p_cmd_on_cmd20[] = {
+ 0x14, 0x00, 0x29, 0xC0,
+ 0xc8, 0x01, 0x00, 0x00,
+ 0x00, 0x00, 0xfc, 0x00,
+ 0x00, 0x00, 0x00, 0x00,
+ 0xfc, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0xfc, 0x00,
+};
+
+
+static char truly_1080p_cmd_on_cmd21[] = {
+ 0x11, 0x00, 0x05, 0x80,
+};
+
+
+static struct mipi_dsi_cmd truly_1080p_cmd_on_command[] = {
+ { 0x4 , truly_1080p_cmd_on_cmd0, 0x00},
+ { 0x4 , truly_1080p_cmd_on_cmd1, 0x00},
+ { 0x4 , truly_1080p_cmd_on_cmd2, 0x00},
+ { 0x4 , truly_1080p_cmd_on_cmd3, 0x00},
+ { 0x4 , truly_1080p_cmd_on_cmd4, 0x00},
+ { 0x4 , truly_1080p_cmd_on_cmd5, 0x14},
+ { 0x4 , truly_1080p_cmd_on_cmd6, 0x00},
+ { 0xc , truly_1080p_cmd_on_cmd7, 0x00},
+ { 0x8 , truly_1080p_cmd_on_cmd8, 0x00},
+ { 0x8 , truly_1080p_cmd_on_cmd9, 0x00},
+ { 0x28 , truly_1080p_cmd_on_cmd10, 0x00},
+ { 0xc , truly_1080p_cmd_on_cmd11, 0x00},
+ { 0x1c , truly_1080p_cmd_on_cmd12, 0x00},
+ { 0x30 , truly_1080p_cmd_on_cmd13, 0x00},
+ { 0x10 , truly_1080p_cmd_on_cmd14, 0x00},
+ { 0x4 , truly_1080p_cmd_on_cmd15, 0x00},
+ { 0x10 , truly_1080p_cmd_on_cmd16, 0x00},
+ { 0x20 , truly_1080p_cmd_on_cmd17, 0x00},
+ { 0xc , truly_1080p_cmd_on_cmd18, 0x00},
+ { 0x24 , truly_1080p_cmd_on_cmd19, 0x00},
+ { 0x18 , truly_1080p_cmd_on_cmd20, 0xc8},
+ { 0x4 , truly_1080p_cmd_on_cmd21, 0x78},
+};
+
+#define TRULY_1080P_CMD_ON_COMMAND 22
+
+
+static char truly_1080p_cmd_off_cmd0[] = {
+ 0x28, 0x00, 0x05, 0x80
+};
+
+
+static char truly_1080p_cmd_off_cmd1[] = {
+ 0x10, 0x00, 0x05, 0x80
+};
+
+
+static struct mipi_dsi_cmd truly_1080p_cmd_off_command[] = {
+ { 0x4 , truly_1080p_cmd_off_cmd0, 0x0},
+ { 0x4 , truly_1080p_cmd_off_cmd1, 0x0}
+};
+
+#define TRULY_1080P_CMD_OFF_COMMAND 2
+
+
+static struct command_state truly_1080p_cmd_state = {
+ 0, 1
+};
+
+/*---------------------------------------------------------------------------*/
+/* Command mode panel information */
+/*---------------------------------------------------------------------------*/
+
+static struct commandpanel_info truly_1080p_cmd_command_panel = {
+ 0x1, 0x1, 0x1, 0, 0, 0, 0, 0, 0, 0x1, 0, 0
+};
+
+/*---------------------------------------------------------------------------*/
+/* Video mode panel information */
+/*---------------------------------------------------------------------------*/
+
+static struct videopanel_info truly_1080p_cmd_video_panel = {
+ 0, 0, 0, 0, 1, 1, 1, 0, 0x9
+};
+
+/*---------------------------------------------------------------------------*/
+/* Lane Configuration */
+/*---------------------------------------------------------------------------*/
+
+static struct lane_configuration truly_1080p_cmd_lane_config = {
+ 4, 0, 1, 1, 1, 1, 0
+};
+
+
+/*---------------------------------------------------------------------------*/
+/* Panel Timing */
+/*---------------------------------------------------------------------------*/
+const uint32_t truly_1080p_cmd_timings[] = {
+ 0xE6, 0x38, 0x26, 0x00, 0x68, 0x6e, 0x2A, 0x3c, 0x44, 0x03, 0x04, 0x00
+};
+
+static struct panel_timing truly_1080p_cmd_timing_info = {
+ 0, 4, 0x02, 0x2d
+};
+
+static struct panel_reset_sequence truly_1080p_cmd_panel_reset_seq = {
+ { 1, 0, 1, }, { 200, 200, 200, }, 2
+};
+
+/*---------------------------------------------------------------------------*/
+/* Backlight Settings */
+/*---------------------------------------------------------------------------*/
+
+static struct backlight truly_1080p_cmd_backlight = {
+ 1, 1, 4095, 100, 1, "PMIC_8941"
+};
+
+#define TRULY_1080P_CMD_SIGNATURE 0xFFFF
+
+#endif /*_TRULY_1080P_CMD_H_*/
diff --git a/platform/mdm9640/acpuclock.c b/platform/mdm9640/acpuclock.c
index 59ff6b3..40827eb 100644
--- a/platform/mdm9640/acpuclock.c
+++ b/platform/mdm9640/acpuclock.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -150,9 +150,9 @@
{
ret = clk_get_set_enable(clk_name, 200000000, 1);
}
- else if(freq == MMC_CLK_177MHZ)
+ else if(freq == MMC_CLK_171MHZ)
{
- ret = clk_get_set_enable(clk_name, 177770000, 1);
+ ret = clk_get_set_enable(clk_name, 171430000, 1);
}
else
{
diff --git a/platform/mdm9640/mdm9640-clock.c b/platform/mdm9640/mdm9640-clock.c
index b7361f5..f6b85fb 100644
--- a/platform/mdm9640/mdm9640-clock.c
+++ b/platform/mdm9640/mdm9640-clock.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -124,6 +124,7 @@
F( 25000000, gpll0, 12, 1, 2),
F( 50000000, gpll0, 12, 0, 0),
F(100000000, gpll0, 6, 0, 0),
+ F(171430000, gpll0, 3, 50, 0),
F(200000000, gpll0, 3, 0, 0),
F_END
};
diff --git a/platform/msm8916/platform.c b/platform/msm8916/platform.c
index 1531b28..6729667 100644
--- a/platform/msm8916/platform.c
+++ b/platform/msm8916/platform.c
@@ -66,7 +66,7 @@
{ A53_SS_BASE, A53_SS_BASE, A53_SS_SIZE, IOMAP_MEMORY},
{ SYSTEM_IMEM_BASE, SYSTEM_IMEM_BASE, 1, COMMON_MEMORY},
{ MSM_SHARED_BASE, MSM_SHARED_BASE, 1, COMMON_MEMORY},
- { SCRATCH_ADDR, SCRATCH_ADDR, 256, COMMON_MEMORY},
+ { SCRATCH_ADDR, SCRATCH_ADDR, 256, SCRATCH_MEMORY},
{ MIPI_FB_ADDR, MIPI_FB_ADDR, 10, COMMON_MEMORY},
};
diff --git a/platform/msm_shared/include/mmc_sdhci.h b/platform/msm_shared/include/mmc_sdhci.h
index 95d636e..6ef404b 100644
--- a/platform/msm_shared/include/mmc_sdhci.h
+++ b/platform/msm_shared/include/mmc_sdhci.h
@@ -160,6 +160,7 @@
#define MMC_CLK_48MHZ 48000000
#define MMC_CLK_50MHZ 49152000
#define MMC_CLK_96MHZ 96000000
+#define MMC_CLK_171MHZ 171430000
#define MMC_CLK_177MHZ 177770000
#define MMC_CLK_200MHZ 200000000
#define MMC_CLK_192MHZ 192000000
diff --git a/project/msm8994.mk b/project/msm8994.mk
index f797e77..b6a4539 100644
--- a/project/msm8994.mk
+++ b/project/msm8994.mk
@@ -29,8 +29,8 @@
DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
-DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
-DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
+DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02700000
+DEFINES += ABOOT_FORCE_TAGS_ADDR=0x02500000
DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000
DEFINES += ENABLE_XPU_VIOLATION=1
diff --git a/target/mdm9615/atags.c b/target/mdm9615/atags.c
index 4f7979e..8d02808 100755
--- a/target/mdm9615/atags.c
+++ b/target/mdm9615/atags.c
@@ -39,6 +39,7 @@
#define SIZE_23M (23 * SIZE_1M)
#define SIZE_88M (11 * SIZE_8M)
#define SIZE_38M (38 * SIZE_1M)
+#define SIZE_128M (16 * SIZE_8M)
unsigned *target_atag_mem(unsigned *ptr)
{
@@ -65,6 +66,13 @@
*ptr++ = SIZE_23M;
*ptr++ = ram_ptable.parts[i].start + SIZE_88M;
+ if(ram_ptable.parts[i].size == 0x10000000) {
+ *ptr++ = 4;
+ *ptr++ = 0x54410002;
+ *ptr++ = SIZE_128M;
+ *ptr++ = ram_ptable.parts[i].start + SIZE_128M;
+ }
+
nand_ptable = flash_get_ptable();
dsp3_ptn = ptable_find(nand_ptable, "dsp3");
diff --git a/target/mdm9640/init.c b/target/mdm9640/init.c
index 09dedef..567ccde 100644
--- a/target/mdm9640/init.c
+++ b/target/mdm9640/init.c
@@ -322,7 +322,7 @@
config.slot = 1;
config.bus_width = DATA_BUS_WIDTH_8BIT;
- config.max_clk_rate = MMC_CLK_200MHZ;
+ config.max_clk_rate = MMC_CLK_171MHZ;
config.sdhc_base = MSM_SDC1_SDHCI_BASE;
config.pwrctl_base = MSM_SDC1_BASE;
config.pwr_irq = SDCC1_PWRCTL_IRQ;
diff --git a/target/msm8952/init.c b/target/msm8952/init.c
index 6a96351..1abc52e 100644
--- a/target/msm8952/init.c
+++ b/target/msm8952/init.c
@@ -378,12 +378,16 @@
}
#endif
+#define SMBCHG_USB_RT_STS 0x21310
+#define USBIN_UV_RT_STS BIT(0)
unsigned target_pause_for_battery_charge(void)
{
uint8_t pon_reason = pm8x41_get_pon_reason();
uint8_t is_cold_boot = pm8x41_get_is_cold_boot();
- dprintf(INFO, "%s : pon_reason is %d cold_boot:%d\n", __func__,
- pon_reason, is_cold_boot);
+ bool usb_present_sts = !(USBIN_UV_RT_STS &
+ pm8x41_reg_read(SMBCHG_USB_RT_STS));
+ dprintf(INFO, "%s : pon_reason is:0x%x cold_boot:%d usb_sts:%d\n", __func__,
+ pon_reason, is_cold_boot, usb_present_sts);
/* In case of fastboot reboot,adb reboot or if we see the power key
* pressed we do not want go into charger mode.
* fastboot reboot is warm boot with PON hard reset bit not set
@@ -392,7 +396,7 @@
if (is_cold_boot &&
(!(pon_reason & HARD_RST)) &&
(!(pon_reason & KPDPWR_N)) &&
- ((pon_reason & USB_CHG)))
+ usb_present_sts)
return 1;
else
return 0;
diff --git a/target/msm8952/oem_panel.c b/target/msm8952/oem_panel.c
index b47f2e3..d94d37f 100644
--- a/target/msm8952/oem_panel.c
+++ b/target/msm8952/oem_panel.c
@@ -43,12 +43,14 @@
/* GCDB Panel Database */
/*---------------------------------------------------------------------------*/
#include "include/panel_truly_1080p_video.h"
+#include "include/panel_truly_1080p_cmd.h"
/*---------------------------------------------------------------------------*/
/* static panel selection variable */
/*---------------------------------------------------------------------------*/
enum {
TRULY_1080P_VIDEO_PANEL,
+ TRULY_1080P_CMD_PANEL,
UNKNOWN_PANEL
};
@@ -62,6 +64,7 @@
*/
static struct panel_list supp_panels[] = {
{"truly_1080p_video", TRULY_1080P_VIDEO_PANEL},
+ {"truly_1080p_cmd", TRULY_1080P_CMD_PANEL},
};
static uint32_t panel_id;
@@ -121,6 +124,32 @@
truly_1080p_video_timings, TIMING_SIZE);
pinfo->mipi.signature = TRULY_1080P_VIDEO_SIGNATURE;
break;
+ case TRULY_1080P_CMD_PANEL:
+ panelstruct->paneldata = &truly_1080p_cmd_panel_data;
+ panelstruct->paneldata->panel_with_enable_gpio = 1;
+ panelstruct->panelres = &truly_1080p_cmd_panel_res;
+ panelstruct->color = &truly_1080p_cmd_color;
+ panelstruct->videopanel = &truly_1080p_cmd_video_panel;
+ panelstruct->commandpanel = &truly_1080p_cmd_command_panel;
+ panelstruct->state = &truly_1080p_cmd_state;
+ panelstruct->laneconfig = &truly_1080p_cmd_lane_config;
+ panelstruct->paneltiminginfo
+ = &truly_1080p_cmd_timing_info;
+ panelstruct->panelresetseq
+ = &truly_1080p_cmd_panel_reset_seq;
+ panelstruct->backlightinfo = &truly_1080p_cmd_backlight;
+ pinfo->mipi.panel_on_cmds
+ = truly_1080p_cmd_on_command;
+ pinfo->mipi.num_of_panel_on_cmds
+ = TRULY_1080P_CMD_ON_COMMAND;
+ pinfo->mipi.panel_off_cmds
+ = truly_1080p_cmd_off_command;
+ pinfo->mipi.num_of_panel_off_cmds
+ = TRULY_1080P_CMD_OFF_COMMAND;
+ memcpy(phy_db->timing,
+ truly_1080p_cmd_timings, TIMING_SIZE);
+ pinfo->mipi.signature = TRULY_1080P_CMD_SIGNATURE;
+ break;
case UNKNOWN_PANEL:
default:
memset(panelstruct, 0, sizeof(struct panel_struct));