From patchwork Wed Mar 27 08:45:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 2348171 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B42833FD40 for ; Wed, 27 Mar 2013 08:46:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753761Ab3C0Iq1 (ORCPT ); Wed, 27 Mar 2013 04:46:27 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:35586 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753963Ab3C0IqY (ORCPT ); Wed, 27 Mar 2013 04:46:24 -0400 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2R8kHNj018433; Wed, 27 Mar 2013 03:46:17 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2R8kHr0020047; Wed, 27 Mar 2013 03:46:17 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Wed, 27 Mar 2013 03:46:17 -0500 Received: from deskari.tieu.ti.com (h64-4.vpn.ti.com [172.24.64.4]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2R8k4Cv030367; Wed, 27 Mar 2013 03:46:15 -0500 From: Tomi Valkeinen To: , , , CC: Archit Taneja , Andy Gross , Tony Lindgren , Benoit Cousson , Santosh Shilimkar , Tomi Valkeinen Subject: [RFC 04/14] OMAPDSS: Add DT support to DSI Date: Wed, 27 Mar 2013 10:45:11 +0200 Message-ID: <1364373921-7599-5-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1364373921-7599-1-git-send-email-tomi.valkeinen@ti.com> References: <1364373921-7599-1-git-send-email-tomi.valkeinen@ti.com> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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