From patchwork Mon May 2 10:29:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 747052 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p42ATxh2026823 for ; Mon, 2 May 2011 10:29:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753582Ab1EBK35 (ORCPT ); Mon, 2 May 2011 06:29:57 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:39273 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752488Ab1EBK34 (ORCPT ); Mon, 2 May 2011 06:29:56 -0400 Received: by wya21 with SMTP id 21so4094437wya.19 for ; Mon, 02 May 2011 03:29:54 -0700 (PDT) Received: by 10.216.240.3 with SMTP id d3mr2350943wer.51.1304332193641; Mon, 02 May 2011 03:29:53 -0700 (PDT) Received: from localhost.localdomain (249.Red-80-33-164.staticIP.rima-tde.net [80.33.164.249]) by mx.google.com with ESMTPS id t11sm2592041wes.17.2011.05.02.03.29.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2011 03:29:52 -0700 (PDT) From: Enric Balletbo i Serra To: tomi.valkeinen@ti.com, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Enric Balletbo i Serra Subject: [PATCH 2/2] OMAP: DSS2: Support for Powertip PH480272T Date: Mon, 2 May 2011 12:29:44 +0200 Message-Id: <1304332184-14687-3-git-send-email-eballetbo@iseebcn.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1304332184-14687-1-git-send-email-eballetbo@iseebcn.com> References: <1304332184-14687-1-git-send-email-eballetbo@iseebcn.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 (demeter2.kernel.org [140.211.167.43]); Mon, 02 May 2011 10:29:59 +0000 (UTC) Add support for Powertip PH480242T, a LCD 4.3inch (480x242) display type with 24-bit RGB interface, to panel-generic-dpi. Signed-off-by: Enric Balletbo i Serra --- drivers/video/omap2/displays/panel-generic-dpi.c | 25 ++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c index e8819ee..3250a85 100644 --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c @@ -206,6 +206,31 @@ static struct panel_config generic_dpi_panels[] = { .power_off_delay = 0, .name = "70wvw1tz3", }, + + /* Powertip PH480272T */ + { + { + .x_res = 480, + .y_res = 272, + + .pixel_clock = 9000, + + .hsw = 40, + .hfp = 2, + .hbp = 2, + + .vsw = 10, + .vfp = 2, + .vbp = 2, + }, + .acbi = 0x0, + .acb = 0x0, + .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | + OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IEO, + .power_on_delay = 0, + .power_off_delay = 0, + .name = "ph480272t", + }, }; struct panel_drv_data {