From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Date: Wed, 27 Mar 2013 08:45:11 +0000 Subject: [RFC 04/14] OMAPDSS: Add DT support to DSI Message-Id: <1364373921-7599-5-git-send-email-tomi.valkeinen@ti.com> List-Id: References: <1364373921-7599-1-git-send-email-tomi.valkeinen@ti.com> In-Reply-To: <1364373921-7599-1-git-send-email-tomi.valkeinen@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Cc: Archit Taneja , Andy Gross , Tony Lindgren , Benoit Cousson , Santosh Shilimkar , Tomi Valkeinen Add the code to make the DSI driver work with device tree on OMAP3 and OMAP4. The of_match_table is added, and also a bit hacky "ti,dsi-module-id" DT property, which tells the DSI ID number. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dsi.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index fb77aa8..1058cab 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -38,6 +38,7 @@ #include #include #include +#include #include