From 2ecef24630f434e58bf3e5adb4d9bb76e50daf78 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 16 Dec 2013 15:13:24 +0200 Subject: [PATCH] OMAPDSS: Add DT support to DSS Add DT support for DSS. Contrary to the non-DT version, the DSS in DT mode contains DPI and SDI outputs, which better reflects the hardware. The non-DT code will be removed after all boards have been converted to DT, so there's no need to change the non-DT code to act the same way. The code for DPI and SDI needs to be refined later to make it possible to add multiple DPI ports. For now, handling just a single DPI port is enough for all the boards. Signed-off-by: Tomi Valkeinen Reviewed-by: Archit Taneja --- drivers/video/omap2/dss/dpi.c | 47 +++++++++++++++++++++++++ drivers/video/omap2/dss/dss.c | 66 +++++++++++++++++++++++++++++++++++ drivers/video/omap2/dss/dss.h | 6 ++++ drivers/video/omap2/dss/sdi.c | 45 ++++++++++++++++++++++++ 4 files changed, 164 insertions(+) diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index 23ef21ffc2c4..f02520ff6e32 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c @@ -30,6 +30,7 @@ #include #include #include +#include #include