From patchwork Wed Aug 31 13:23:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1116122 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7VDNxS1023669 for ; Wed, 31 Aug 2011 13:23:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755829Ab1HaNX5 (ORCPT ); Wed, 31 Aug 2011 09:23:57 -0400 Received: from na3sys009aog123.obsmtp.com ([74.125.149.149]:46362 "EHLO na3sys009aog123.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755487Ab1HaNX4 (ORCPT ); Wed, 31 Aug 2011 09:23:56 -0400 Received: from mail-ww0-f45.google.com ([74.125.82.45]) (using TLSv1) by na3sys009aob123.postini.com ([74.125.148.12]) with SMTP ID DSNKTl416r2m6XRzQD7uDrCTgQrh5PNgNI3m@postini.com; Wed, 31 Aug 2011 06:23:55 PDT Received: by mail-ww0-f45.google.com with SMTP id 9so624354wwg.14 for ; Wed, 31 Aug 2011 06:23:54 -0700 (PDT) Received: by 10.227.63.8 with SMTP id z8mr368243wbh.106.1314797034480; Wed, 31 Aug 2011 06:23:54 -0700 (PDT) Received: from localhost.localdomain (a62-248-128-208.elisa-laajakaista.fi [62.248.128.208]) by mx.google.com with ESMTPS id fm9sm5476855wbb.27.2011.08.31.06.23.52 (version=SSLv3 cipher=OTHER); Wed, 31 Aug 2011 06:23:53 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, mythripk@ti.com, Tomi Valkeinen Subject: [PATCH 11/12] OMAP: Panda & Beagle: DVI: Add i2c_bus_num Date: Wed, 31 Aug 2011 16:23:22 +0300 Message-Id: <1314797003-17638-12-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> References: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 31 Aug 2011 13:23:59 +0000 (UTC) Add i2c bus number for DVI output. The driver uses this to detect if a panel is connected and to read EDID. Signed-off-by: Tomi Valkeinen --- arch/arm/mach-omap2/board-omap3beagle.c | 1 + arch/arm/mach-omap2/board-omap4panda.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 3ae16b4..13244e9 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -207,6 +207,7 @@ static struct panel_generic_dpi_data dvi_panel = { .name = "generic", .platform_enable = beagle_enable_dvi, .platform_disable = beagle_disable_dvi, + .i2c_bus_num = 3, }; static struct omap_dss_device beagle_dvi_device = { diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 9aaa960..d5760e3 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -459,6 +459,7 @@ static struct panel_generic_dpi_data omap4_dvi_panel = { .name = "generic", .platform_enable = omap4_panda_enable_dvi, .platform_disable = omap4_panda_disable_dvi, + .i2c_bus_num = 3, }; struct omap_dss_device omap4_panda_dvi_device = {