mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
drm/panel: simple: add support Chunghwa CLAA070WP03 800x1280 panel
Chunghwa CLAA070WP03 is 7” color TFT-LCD module composed of LCD panel, LVDS driver ICs, control circuit and backlight. This module supports 800x1280 mode. Change-Id: I6a6339ad25664e2e47fc0e0de5c079db3494bd25 Signed-off-by: Yakir Yang <ykk@rock-chips.com>
This commit is contained in:
parent
3f4b60a3a4
commit
468ffd0d78
|
|
@ -566,6 +566,29 @@ static const struct panel_desc avic_tm070ddh03 = {
|
|||
},
|
||||
};
|
||||
|
||||
static const struct drm_display_mode chunghwa_claa070wp03xg_mode = {
|
||||
.clock = 67000,
|
||||
.hdisplay = 800,
|
||||
.hsync_start = 800 + 24,
|
||||
.hsync_end = 800 + 24 + 16,
|
||||
.htotal = 800 + 24 + 16 + 24,
|
||||
.vdisplay = 1280,
|
||||
.vsync_start = 1280 + 2,
|
||||
.vsync_end = 1280 + 2 + 2,
|
||||
.vtotal = 1280 + 2 + 2 + 4,
|
||||
.vrefresh = 60,
|
||||
};
|
||||
|
||||
static const struct panel_desc chunghwa_claa070wp03xg = {
|
||||
.modes = &chunghwa_claa070wp03xg_mode,
|
||||
.num_modes = 1,
|
||||
.bpc = 6,
|
||||
.size = {
|
||||
.width = 94,
|
||||
.height = 151,
|
||||
},
|
||||
};
|
||||
|
||||
static const struct drm_display_mode chunghwa_claa101wa01a_mode = {
|
||||
.clock = 72070,
|
||||
.hdisplay = 1366,
|
||||
|
|
@ -1188,6 +1211,9 @@ static const struct of_device_id platform_of_match[] = {
|
|||
}, {
|
||||
.compatible = "avic,tm070ddh03",
|
||||
.data = &avic_tm070ddh03,
|
||||
}, {
|
||||
.compatible = "chunghwa,claa070wp03xg",
|
||||
.data = &chunghwa_claa070wp03xg,
|
||||
}, {
|
||||
.compatible = "chunghwa,claa101wa01a",
|
||||
.data = &chunghwa_claa101wa01a
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user