From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: [RFC 05/14] OMAPDSS: Add DT support to HDMI Date: Wed, 27 Mar 2013 10:45:12 +0200 Message-ID: <1364373921-7599-6-git-send-email-tomi.valkeinen@ti.com> References: <1364373921-7599-1-git-send-email-tomi.valkeinen@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1364373921-7599-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org 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 List-Id: devicetree@vger.kernel.org Add the code to make the HDMI driver work with device tree. The OMAP SoC HDMI (hdmi.c) change is simple, just add of_match_table. The hdmi_panel.c is a bit more complex. We model both the TPD12S015 chip and the HDMI connector, and handle both in the same driver. In the future those should be separate drivers. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/hdmi.c | 7 +++ drivers/video/omap2/dss/hdmi_panel.c | 86 +++++++++++++++++++++++++++++++++- 2 files changed, 91 insertions(+), 2 deletions(-) diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index f9e38c4..e7a18d3 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -34,6 +34,7 @@ #include #include #include +#include #include