Commit da50bd42 authored by spanda@codeaurora.org's avatar spanda@codeaurora.org Committed by Thierry Reding

drm/panel: simple: Add Innolux TV123WAM panel driver support

Add support for Innolux TV123WAM, which is a 12.3" eDP display panel
with 2160x1440 resolution.

Changes in v1:
 - Add the compatibility string, display_mode and panel_desc
   structures in alphabetical order (Sean Paul).
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1526363564-13823-4-git-send-email-spanda@codeaurora.org
parent 9c04400f
...@@ -1216,6 +1216,30 @@ static const struct panel_desc innolux_n156bge_l21 = { ...@@ -1216,6 +1216,30 @@ static const struct panel_desc innolux_n156bge_l21 = {
}, },
}; };
static const struct drm_display_mode innolux_tv123wam_mode = {
.clock = 206016,
.hdisplay = 2160,
.hsync_start = 2160 + 48,
.hsync_end = 2160 + 48 + 32,
.htotal = 2160 + 48 + 32 + 80,
.vdisplay = 1440,
.vsync_start = 1440 + 3,
.vsync_end = 1440 + 3 + 10,
.vtotal = 1440 + 3 + 10 + 27,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
};
static const struct panel_desc innolux_tv123wam = {
.modes = &innolux_tv123wam_mode,
.num_modes = 1,
.bpc = 8,
.size = {
.width = 259,
.height = 173,
},
};
static const struct drm_display_mode innolux_zj070na_01p_mode = { static const struct drm_display_mode innolux_zj070na_01p_mode = {
.clock = 51501, .clock = 51501,
.hdisplay = 1024, .hdisplay = 1024,
...@@ -2168,6 +2192,9 @@ static const struct of_device_id platform_of_match[] = { ...@@ -2168,6 +2192,9 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "innolux,n156bge-l21", .compatible = "innolux,n156bge-l21",
.data = &innolux_n156bge_l21, .data = &innolux_n156bge_l21,
}, {
.compatible = "innolux,tv123wam",
.data = &innolux_tv123wam,
}, { }, {
.compatible = "innolux,zj070na-01p", .compatible = "innolux,zj070na-01p",
.data = &innolux_zj070na_01p, .data = &innolux_zj070na_01p,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment