aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du/rcar_du_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_drv.c')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c24
1 files changed, 22 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 4ec6272a1c11..792fd1d20e86 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -251,8 +251,8 @@ static const struct rcar_du_device_info rcar_du_r8a7779_info = {
251}; 251};
252 252
253static const struct rcar_du_device_info rcar_du_r8a7790_info = { 253static const struct rcar_du_device_info rcar_du_r8a7790_info = {
254 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK | RCAR_DU_FEATURE_ALIGN_128B 254 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK | RCAR_DU_FEATURE_DEFR8,
255 | RCAR_DU_FEATURE_DEFR8, 255 .quirks = RCAR_DU_QUIRK_ALIGN_128B | RCAR_DU_QUIRK_LVDS_LANES,
256 .num_crtcs = 3, 256 .num_crtcs = 3,
257 .routes = { 257 .routes = {
258 /* R8A7790 has one RGB output, two LVDS outputs and one 258 /* R8A7790 has one RGB output, two LVDS outputs and one
@@ -274,9 +274,29 @@ static const struct rcar_du_device_info rcar_du_r8a7790_info = {
274 .num_lvds = 2, 274 .num_lvds = 2,
275}; 275};
276 276
277static const struct rcar_du_device_info rcar_du_r8a7791_info = {
278 .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK | RCAR_DU_FEATURE_DEFR8,
279 .num_crtcs = 2,
280 .routes = {
281 /* R8A7791 has one RGB output, one LVDS output and one
282 * (currently unsupported) TCON output.
283 */
284 [RCAR_DU_OUTPUT_DPAD0] = {
285 .possible_crtcs = BIT(1),
286 .encoder_type = DRM_MODE_ENCODER_NONE,
287 },
288 [RCAR_DU_OUTPUT_LVDS0] = {
289 .possible_crtcs = BIT(0),
290 .encoder_type = DRM_MODE_ENCODER_LVDS,
291 },
292 },
293 .num_lvds = 1,
294};
295
277static const struct platform_device_id rcar_du_id_table[] = { 296static const struct platform_device_id rcar_du_id_table[] = {
278 { "rcar-du-r8a7779", (kernel_ulong_t)&rcar_du_r8a7779_info }, 297 { "rcar-du-r8a7779", (kernel_ulong_t)&rcar_du_r8a7779_info },
279 { "rcar-du-r8a7790", (kernel_ulong_t)&rcar_du_r8a7790_info }, 298 { "rcar-du-r8a7790", (kernel_ulong_t)&rcar_du_r8a7790_info },
299 { "rcar-du-r8a7791", (kernel_ulong_t)&rcar_du_r8a7791_info },
280 { } 300 { }
281}; 301};
282 302