Commit cb62cdec authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Sam Ravnborg

drm/panel: simple: Set connector type for DSI panels

None of the DSI panels set the connector_type in their panel_desc
descriptor. As they are all guaranteed to be DSI panels, that's an easy
fix, set the connector type to DRM_MODE_CONNECTOR_DSI.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200602171240.2785-1-laurent.pinchart+renesas@ideasonboard.com
parent 18ece75d
...@@ -4001,6 +4001,7 @@ static const struct panel_desc_dsi auo_b080uan01 = { ...@@ -4001,6 +4001,7 @@ static const struct panel_desc_dsi auo_b080uan01 = {
.width = 108, .width = 108,
.height = 272, .height = 272,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS, .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS,
.format = MIPI_DSI_FMT_RGB888, .format = MIPI_DSI_FMT_RGB888,
...@@ -4028,6 +4029,7 @@ static const struct panel_desc_dsi boe_tv080wum_nl0 = { ...@@ -4028,6 +4029,7 @@ static const struct panel_desc_dsi boe_tv080wum_nl0 = {
.width = 107, .width = 107,
.height = 172, .height = 172,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = MIPI_DSI_MODE_VIDEO | .flags = MIPI_DSI_MODE_VIDEO |
MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_VIDEO_BURST |
...@@ -4057,6 +4059,7 @@ static const struct panel_desc_dsi lg_ld070wx3_sl01 = { ...@@ -4057,6 +4059,7 @@ static const struct panel_desc_dsi lg_ld070wx3_sl01 = {
.width = 94, .width = 94,
.height = 151, .height = 151,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS, .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS,
.format = MIPI_DSI_FMT_RGB888, .format = MIPI_DSI_FMT_RGB888,
...@@ -4084,6 +4087,7 @@ static const struct panel_desc_dsi lg_lh500wx1_sd03 = { ...@@ -4084,6 +4087,7 @@ static const struct panel_desc_dsi lg_lh500wx1_sd03 = {
.width = 62, .width = 62,
.height = 110, .height = 110,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = MIPI_DSI_MODE_VIDEO, .flags = MIPI_DSI_MODE_VIDEO,
.format = MIPI_DSI_FMT_RGB888, .format = MIPI_DSI_FMT_RGB888,
...@@ -4111,6 +4115,7 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = { ...@@ -4111,6 +4115,7 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
.width = 217, .width = 217,
.height = 136, .height = 136,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
MIPI_DSI_CLOCK_NON_CONTINUOUS, MIPI_DSI_CLOCK_NON_CONTINUOUS,
...@@ -4139,6 +4144,7 @@ static const struct panel_desc_dsi lg_acx467akm_7 = { ...@@ -4139,6 +4144,7 @@ static const struct panel_desc_dsi lg_acx467akm_7 = {
.width = 62, .width = 62,
.height = 110, .height = 110,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = 0, .flags = 0,
.format = MIPI_DSI_FMT_RGB888, .format = MIPI_DSI_FMT_RGB888,
...@@ -4167,6 +4173,7 @@ static const struct panel_desc_dsi osd101t2045_53ts = { ...@@ -4167,6 +4173,7 @@ static const struct panel_desc_dsi osd101t2045_53ts = {
.width = 217, .width = 217,
.height = 136, .height = 136,
}, },
.connector_type = DRM_MODE_CONNECTOR_DSI,
}, },
.flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | .flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_VIDEO_SYNC_PULSE | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
......
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