Commit 982f944e authored by Giulio Benetti's avatar Giulio Benetti Committed by Thierry Reding

drm/panel: add panel CDTech S070WV95-CT16 to panel-simple

This patch adds support for CDTech S070WV95-CT16 800x480 7" panel to DRM
simple panel driver.
Signed-off-by: default avatarGiulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180730231117.5631-3-giulio.benetti@micronovasrl.com
parent 21295cea
...@@ -836,6 +836,30 @@ static const struct panel_desc boe_nv101wxmn51 = { ...@@ -836,6 +836,30 @@ static const struct panel_desc boe_nv101wxmn51 = {
}, },
}; };
static const struct drm_display_mode cdtech_s070wv95_ct16_mode = {
.clock = 35000,
.hdisplay = 800,
.hsync_start = 800 + 40,
.hsync_end = 800 + 40 + 40,
.htotal = 800 + 40 + 40 + 48,
.vdisplay = 480,
.vsync_start = 480 + 29,
.vsync_end = 480 + 29 + 13,
.vtotal = 480 + 29 + 13 + 3,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
};
static const struct panel_desc cdtech_s070wv95_ct16 = {
.modes = &cdtech_s070wv95_ct16_mode,
.num_modes = 1,
.bpc = 8,
.size = {
.width = 154,
.height = 85,
},
};
static const struct drm_display_mode chunghwa_claa070wp03xg_mode = { static const struct drm_display_mode chunghwa_claa070wp03xg_mode = {
.clock = 66770, .clock = 66770,
.hdisplay = 800, .hdisplay = 800,
...@@ -2375,6 +2399,9 @@ static const struct of_device_id platform_of_match[] = { ...@@ -2375,6 +2399,9 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "boe,nv101wxmn51", .compatible = "boe,nv101wxmn51",
.data = &boe_nv101wxmn51, .data = &boe_nv101wxmn51,
}, {
.compatible = "cdtech,s070wv95-ct16",
.data = &cdtech_s070wv95_ct16,
}, { }, {
.compatible = "chunghwa,claa070wp03xg", .compatible = "chunghwa,claa070wp03xg",
.data = &chunghwa_claa070wp03xg, .data = &chunghwa_claa070wp03xg,
......
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