summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du/rcar_du_drv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-01-21 15:57:26 +0100
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-09-15 11:55:47 +0300
commit96c026911890ceacee238da00a0b140ad634cc43 (patch)
treeb9052e516de723067b1fbd91da74cbd32ef54e2c /drivers/gpu/drm/rcar-du/rcar_du_drv.h
parent1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5 (diff)
downloadop-kernel-dev-96c026911890ceacee238da00a0b140ad634cc43.zip
op-kernel-dev-96c026911890ceacee238da00a0b140ad634cc43.tar.gz
drm/rcar-du: Add OF support
Implement support for the R-Car DU DT bindings in the rcar-du DRM driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_drv.h')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.h b/drivers/gpu/drm/rcar-du/rcar_du_drv.h
index 2066ec6..8e49463 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.h
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.h
@@ -37,6 +37,7 @@ struct rcar_du_lvdsenc;
* struct rcar_du_output_routing - Output routing specification
* @possible_crtcs: bitmask of possible CRTCs for the output
* @encoder_type: DRM type of the internal encoder associated with the output
+ * @port: device tree port number corresponding to this output route
*
* The DU has 5 possible outputs (DPAD0/1, LVDS0/1, TCON). Output routing data
* specify the valid SoC outputs, which CRTCs can drive the output, and the type
@@ -45,6 +46,7 @@ struct rcar_du_lvdsenc;
struct rcar_du_output_routing {
unsigned int possible_crtcs;
unsigned int encoder_type;
+ unsigned int port;
};
/*
OpenPOWER on IntegriCloud