mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
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:
@@ -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.
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user