Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: rcar-du: Add HDMI outputs to R8A7795 device description

Update the device description with the two available HDMI outputs.

Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

authored by

Koji Matsuoka and committed by
Laurent Pinchart
0dda563e dc4aedbf

+13 -3
+3 -1
drivers/gpu/drm/rcar-du/rcar_du_crtc.h
··· 1 1 /* 2 2 * rcar_du_crtc.h -- R-Car Display Unit CRTCs 3 3 * 4 - * Copyright (C) 2013-2014 Renesas Electronics Corporation 4 + * Copyright (C) 2013-2015 Renesas Electronics Corporation 5 5 * 6 6 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) 7 7 * ··· 61 61 RCAR_DU_OUTPUT_DPAD1, 62 62 RCAR_DU_OUTPUT_LVDS0, 63 63 RCAR_DU_OUTPUT_LVDS1, 64 + RCAR_DU_OUTPUT_HDMI0, 65 + RCAR_DU_OUTPUT_HDMI1, 64 66 RCAR_DU_OUTPUT_TCON, 65 67 RCAR_DU_OUTPUT_MAX, 66 68 };
+10 -2
drivers/gpu/drm/rcar-du/rcar_du_drv.c
··· 149 149 | RCAR_DU_FEATURE_VSP1_SOURCE, 150 150 .num_crtcs = 4, 151 151 .routes = { 152 - /* R8A7795 has one RGB output, one LVDS output and two 153 - * (currently unsupported) HDMI outputs. 152 + /* R8A7795 has one RGB output, two HDMI outputs and one 153 + * LVDS output. 154 154 */ 155 155 [RCAR_DU_OUTPUT_DPAD0] = { 156 156 .possible_crtcs = BIT(3), 157 157 .port = 0, 158 + }, 159 + [RCAR_DU_OUTPUT_HDMI0] = { 160 + .possible_crtcs = BIT(1), 161 + .port = 1, 162 + }, 163 + [RCAR_DU_OUTPUT_HDMI1] = { 164 + .possible_crtcs = BIT(2), 165 + .port = 2, 158 166 }, 159 167 [RCAR_DU_OUTPUT_LVDS0] = { 160 168 .possible_crtcs = BIT(0),