From patchwork Thu Mar 28 12:49: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: 2356641 Return-Path: X-Original-To: patchwork-linux-omap@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 EBC233FD40 for ; Thu, 28 Mar 2013 12:50:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756070Ab3C1MuI (ORCPT ); Thu, 28 Mar 2013 08:50:08 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:57266 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756093Ab3C1MuG (ORCPT ); Thu, 28 Mar 2013 08:50:06 -0400 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2SCo5Gm002952; Thu, 28 Mar 2013 07:50:05 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2SCo5th001825; Thu, 28 Mar 2013 07:50:05 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Thu, 28 Mar 2013 07:50:05 -0500 Received: from deskari.tieu.ti.com (h64-7.vpn.ti.com [172.24.64.7]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2SCneNc022813; Thu, 28 Mar 2013 07:50:04 -0500 From: Tomi Valkeinen To: Tony Lindgren , CC: Archit Taneja , Tomi Valkeinen Subject: [PATCH 17/28] ARM: OMAP: Devkit8000: use new TFP410 platform driver Date: Thu, 28 Mar 2013 14:49:11 +0200 Message-ID: <1364474962-20439-18-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1364474962-20439-1-git-send-email-tomi.valkeinen@ti.com> References: <1364474962-20439-1-git-send-email-tomi.valkeinen@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Use the new TFP410 platform driver instead of the old omap_dss_driver. Signed-off-by: Tomi Valkeinen --- arch/arm/mach-omap2/board-devkit8000.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index e90808c..d05f069 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c @@ -163,20 +163,20 @@ static struct omap_dss_board_info devkit8000_dss_data = { #elif defined(CONFIG_MACH_DEVKIT8000_EXPANSION_DVI) static struct tfp410_platform_data dvi_panel = { + .name = "dvi", + .source = "dpi.0", + .data_lines = 24, .power_down_gpio = -1, .i2c_bus_num = 1, }; -static struct omap_dss_device devkit8000_dvi_device = { - .name = "dvi", - .type = OMAP_DISPLAY_TYPE_DPI, - .driver_name = "tfp410", - .data = &dvi_panel, - .phy.dpi.data_lines = 24, +static struct platform_device devkit8000_dvi_device = { + .name = "tfp410", + .id = 0, + .dev.platform_data = &dvi_panel, }; static struct omap_dss_device *devkit8000_dss_devices[] = { - &devkit8000_dvi_device, &devkit8000_tv_device, }; @@ -452,6 +452,9 @@ static struct platform_device *devkit8000_devices[] __initdata = { &leds_gpio, &keys_gpio, &omap_dm9000_dev, +#if defined(CONFIG_MACH_DEVKIT8000_EXPANSION_DVI) + &devkit8000_dvi_device, +#endif }; static struct usbhs_omap_platform_data usbhs_bdata __initdata = {