drm/panel: simple: Add support for INNOLUX N125HCE-GPA 1920x1080 panel

The INNOLUX N125HCE-GPA is a 12.5' TFT Liquid Crystal Display NB module
with LED Backlight unit and 30 pins eDP interface. This module supports
1920x1080 FHD mode and can display 16.7M colors.

Change-Id: I72318ac3317cd03e2301a1cab61cf126cd2a401b
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
WeiYong Bi
2016-12-12 16:36:07 +08:00
committed by Huang, Tao
parent adb8d1ce47
commit bc41bde50a
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
Innolux Corporation 12.5" FHD (1920x1080) TFT LCD panel
Required properties:
- compatible: should be "innolux,n125hce"
This binding is compatible with the simple-panel binding, which is specified
in simple-panel.txt in this directory.

View File

@@ -998,6 +998,35 @@ static const struct panel_desc innolux_n116bge = {
},
};
static const struct drm_display_mode innolux_n125hce_mode = {
.clock = 138780,
.hdisplay = 1920,
.hsync_start = 1920 + 80,
.hsync_end = 1920 + 80 + 30,
.htotal = 1920 + 80 + 30 + 50,
.vdisplay = 1080,
.vsync_start = 1080 + 12,
.vsync_end = 1080 + 12 + 4,
.vtotal = 1080 + 12 + 4 + 16,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
};
static const struct panel_desc innolux_n125hce = {
.modes = &innolux_n125hce_mode,
.num_modes = 1,
.bpc = 6,
.size = {
.width = 283,
.height = 168,
},
.delay = {
.unprepare = 600,
.enable = 100,
},
.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
};
static const struct drm_display_mode innolux_n156bge_l21_mode = {
.clock = 69300,
.hdisplay = 1366,
@@ -1385,6 +1414,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,n116bge",
.data = &innolux_n116bge,
}, {
.compatible = "innolux,n125hce",
.data = &innolux_n125hce,
}, {
.compatible = "innolux,n156bge-l21",
.data = &innolux_n156bge_l21,