dev: gcdb: display: Enable RM67162 edo qvga panel on Spyro
Add panel properties,modify panel backlight type.
Change-Id: Ic5956de70b2b8328f6a462c5e91b232fcabd5322
diff --git a/dev/gcdb/display/include/panel_edo_rm67162_qvga_cmd.h b/dev/gcdb/display/include/panel_edo_rm67162_qvga_cmd.h
index d91a1b7..eaa4563 100644
--- a/dev/gcdb/display/include/panel_edo_rm67162_qvga_cmd.h
+++ b/dev/gcdb/display/include/panel_edo_rm67162_qvga_cmd.h
@@ -38,7 +38,7 @@
/*---------------------------------------------------------------------------*/
static struct panel_config edo_rm67162_qvga_cmd_panel_data = {
"qcom,mdss_dsi_edo_rm67162_qvga_cmd", "dsi:0:", "qcom,mdss-dsi-panel",
- 10, 1, "DISPLAY_1", 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ 10, 1, "DISPLAY_1", 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
/*---------------------------------------------------------------------------*/
@@ -90,7 +90,7 @@
static char edo_rm67162_qvga_cmd_on_cmd6[] = {
0x02, 0x00, 0x29, 0xC0,
- 0x51, 0x00, 0xFF, 0xFF,
+ 0x51, 0xFF, 0xFF, 0xFF,
};
static char edo_rm67162_qvga_cmd_on_cmd7[] = {
@@ -172,7 +172,7 @@
/* Lane configuration */
/*---------------------------------------------------------------------------*/
static struct lane_configuration edo_rm67162_qvga_cmd_lane_config = {
- 1, 0, 1, 0, 0, 0
+ 1, 0, 1, 0, 0, 0, 0
};
/*---------------------------------------------------------------------------*/
@@ -183,7 +183,7 @@
};
static struct panel_timing edo_rm67162_qvga_cmd_timing_info = {
- 0, 4, 0x20, 0x2c
+ 0, 4, 0x09, 0x2c
};
/*---------------------------------------------------------------------------*/
@@ -197,7 +197,7 @@
/* Backlight setting */
/*---------------------------------------------------------------------------*/
static struct backlight edo_rm67162_qvga_cmd_backlight = {
- 1, 1, 4095, 100, 1, "PMIC_8941"
+ 2, 1, 255, 100, 2, "BL_CTL_DCS"
};
#endif /*_PANEL_EDO_RM67162_QVGA_CMD_H_*/