summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rcar-du/rcar_du_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2017-06-19 23:34:40 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2017-08-03 16:17:25 +0300
commit776c5d000ba5401dc338b172e1e88b02e6b37216 (patch)
treeef9ad333cfac2bbeed4c289e70b10ba4351e3fbd /drivers/gpu/drm/rcar-du/rcar_du_drv.c
parent66088749c52441b79fa05ea0f3d2b35b32837244 (diff)
downloadlinux-776c5d000ba5401dc338b172e1e88b02e6b37216.tar.xz
drm: rcar-du: Add HDMI outputs to R8A7796 device description
Update the device description with the HDMI output. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_drv.c')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c9
1 files changed, 7 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 b95437bccb3d..da3020b622ab 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -186,19 +186,24 @@ static const struct rcar_du_device_info rcar_du_r8a7796_info = {
.num_crtcs = 3,
.routes = {
/*
- * R8A7796 has one RGB output, one LVDS output and one
- * (currently unsupported) HDMI output.
+ * R8A7796 has one RGB output, one LVDS output and one HDMI
+ * output.
*/
[RCAR_DU_OUTPUT_DPAD0] = {
.possible_crtcs = BIT(2),
.port = 0,
},
+ [RCAR_DU_OUTPUT_HDMI0] = {
+ .possible_crtcs = BIT(1),
+ .port = 1,
+ },
[RCAR_DU_OUTPUT_LVDS0] = {
.possible_crtcs = BIT(0),
.port = 2,
},
},
.num_lvds = 1,
+ .dpll_ch = BIT(1),
};
static const struct of_device_id rcar_du_of_table[] = {