From patchwork Sat Feb 12 17:02:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Morsing X-Patchwork-Id: 551831 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1CH2Jd4004986 for ; Sat, 12 Feb 2011 17:02:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751145Ab1BLRCR (ORCPT ); Sat, 12 Feb 2011 12:02:17 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:54555 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146Ab1BLRCJ (ORCPT ); Sat, 12 Feb 2011 12:02:09 -0500 Received: by mail-fx0-f46.google.com with SMTP id 20so3768653fxm.19 for ; Sat, 12 Feb 2011 09:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=koe2u8v1093P/m/1MjuqworJoHD00CdD9EiSFVBjsTA=; b=VH9VJXpWN+3OzaknsCsVSU1VN34I314eszjVPJXGZ6MT+9PI/9S8ynZJzUtQYLSd68 hi+gkX1a+e7bcZdrt7Iv2UbInBaYLvmV01VqjWTVzr3vqAlJrTPfGZ3dvEnFj3xqYJ5Y iKGIRy10TNj/oNhwAPhAxFFq/LXnfAze6nRuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=p360fS5pGAO9s+i07HqW9bhx+g6vrlH6oIcSkY4F9fqcvgv5csAwIAiUE+k3L0hl+C n2EydBLgRKFIOx6SvVXWK8303w4PEP7igOqXyEXppTKfTu8gt+fxmkLNuO48P3SI3EvT YREaJ1YLt0XdHnPsJha88rT7/cavOa6dzizZQ= Received: by 10.223.87.5 with SMTP id u5mr2121439fal.48.1297530128573; Sat, 12 Feb 2011 09:02:08 -0800 (PST) Received: from localhost.localdomain ([188.114.148.132]) by mx.google.com with ESMTPS id n3sm253619fax.7.2011.02.12.09.02.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Feb 2011 09:02:08 -0800 (PST) From: Daniel Morsing To: Tony Lindgren , Tomi Valkeinen Cc: Bryan Wu , linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, Daniel Morsing Subject: [PATCH 2/2] omap3: devkit8000: Add and use 4.3 inch display Date: Sat, 12 Feb 2011 18:02:10 +0100 Message-Id: <1297530130-10355-3-git-send-email-daniel.morsing@gmail.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1297530130-10355-1-git-send-email-daniel.morsing@gmail.com> References: <1297530130-10355-1-git-send-email-daniel.morsing@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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]); Sat, 12 Feb 2011 17:02:19 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 9a2a31e..6dab13e 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c @@ -148,7 +148,7 @@ static struct regulator_consumer_supply devkit8000_vio_supply = REGULATOR_SUPPLY("vcc", "spi2.0"); static struct panel_generic_dpi_data lcd_panel = { - .name = "generic", + .name = "devkit_43", .platform_enable = devkit8000_panel_enable_lcd, .platform_disable = devkit8000_panel_disable_lcd, }; diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c index b52a28f..ee9e7ea 100644 --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c @@ -83,6 +83,32 @@ static struct panel_config generic_dpi_panels[] = { .name = "generic", }, + /* Devkit8000 4.3 Inch display */ + { + { + .x_res = 480, + .y_res = 272, + + .pixel_clock = 10000, + + .hfp = 2, + .hsw = 41, + .hbp = 2, + + .vfp = 2, + .vsw = 10, + .vbp = 2, + }, + .acbi = 0x0, + .acb = 0x0, + .recommended_bpp = 16, + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | + OMAP_DSS_LCD_IHS, + .power_on_delay = 50, + .power_off_delay = 100, + .name = "devkit_43", + }, + /* Sharp LQ043T1DG01 */ { {