drm/panel: simple: Add YTC700TLAG-05-201C
Add panel timings for YTC700TLAG-05-201C 7" TFT LCD panel from Yes Optoelectronics Co.,Ltd. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200904180821.302194-3-jagan@amarulasolutions.com
This commit is contained in:
parent
b73946a2ef
commit
7a1f4fa4a6
1 changed files with 29 additions and 0 deletions
|
@ -3873,6 +3873,32 @@ static const struct panel_desc winstar_wf35ltiacd = {
|
||||||
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
|
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode = {
|
||||||
|
.clock = 51200,
|
||||||
|
.hdisplay = 1024,
|
||||||
|
.hsync_start = 1024 + 100,
|
||||||
|
.hsync_end = 1024 + 100 + 100,
|
||||||
|
.htotal = 1024 + 100 + 100 + 120,
|
||||||
|
.vdisplay = 600,
|
||||||
|
.vsync_start = 600 + 10,
|
||||||
|
.vsync_end = 600 + 10 + 10,
|
||||||
|
.vtotal = 600 + 10 + 10 + 15,
|
||||||
|
.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = {
|
||||||
|
.modes = &yes_optoelectronics_ytc700tlag_05_201c_mode,
|
||||||
|
.num_modes = 1,
|
||||||
|
.bpc = 6,
|
||||||
|
.size = {
|
||||||
|
.width = 154,
|
||||||
|
.height = 90,
|
||||||
|
},
|
||||||
|
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
|
||||||
|
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
|
||||||
|
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct drm_display_mode arm_rtsm_mode[] = {
|
static const struct drm_display_mode arm_rtsm_mode[] = {
|
||||||
{
|
{
|
||||||
.clock = 65000,
|
.clock = 65000,
|
||||||
|
@ -4299,6 +4325,9 @@ static const struct of_device_id platform_of_match[] = {
|
||||||
}, {
|
}, {
|
||||||
.compatible = "winstar,wf35ltiacd",
|
.compatible = "winstar,wf35ltiacd",
|
||||||
.data = &winstar_wf35ltiacd,
|
.data = &winstar_wf35ltiacd,
|
||||||
|
}, {
|
||||||
|
.compatible = "yes-optoelectronics,ytc700tlag-05-201c",
|
||||||
|
.data = &yes_optoelectronics_ytc700tlag_05_201c,
|
||||||
}, {
|
}, {
|
||||||
/* Must be the last entry */
|
/* Must be the last entry */
|
||||||
.compatible = "panel-dpi",
|
.compatible = "panel-dpi",
|
||||||
|
|
Loading…
Add table
Reference in a new issue