From patchwork Wed Aug 15 09:31:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1325001 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id BDEC1DFFED for ; Wed, 15 Aug 2012 09:31:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750923Ab2HOJbK (ORCPT ); Wed, 15 Aug 2012 05:31:10 -0400 Received: from na3sys009aog123.obsmtp.com ([74.125.149.149]:44560 "EHLO na3sys009aog123.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388Ab2HOJbJ (ORCPT ); Wed, 15 Aug 2012 05:31:09 -0400 Received: from mail-lpp01m010-f51.google.com ([209.85.215.51]) (using TLSv1) by na3sys009aob123.postini.com ([74.125.148.12]) with SMTP ID DSNKUCtsW8PGhDZ0JJ9eLNJPdqDJ7Magh+Si@postini.com; Wed, 15 Aug 2012 02:31:08 PDT Received: by lahe6 with SMTP id e6so578482lah.10 for ; Wed, 15 Aug 2012 02:31:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:x-mailer:mime-version:x-gm-message-state; bh=4oKNGOp4y2F+In87wT+rmBvPjliklJv9andiXZNcLeA=; b=XK1pW7kSPugpRjzM6Kcnh1fUX9xDyZgDdGOrtDw4psRx7naOghBEsRaaStPEis636Q YbAHgX4fNl5z0oIivRnY15wfNo2rcjnstaoQr7w1puOEbuCa7J+tAmSdMIWdilSd0RQ4 SYZoQ7l3yWM7H0yqLUYYekNiWBn1q1Mf1QCVeFxvkl64hlnIb3GLmEmISimvXJcONw+f QetAlszwcKZBD91Io6NB/W/KmCgG3Jd7OSVMKcJmE3kaJRBpb1cO+cTX8M1rmMqXyvMZ j4ChoFYJF7/Kug2NvEHBbQbGJAUj2lMqKci35GvECjoUbpZimnsSbTi8VAoQwJLT6Ly6 1SUA== Received: by 10.152.104.44 with SMTP id gb12mr18775325lab.29.1345023066264; Wed, 15 Aug 2012 02:31:06 -0700 (PDT) Received: from [192.168.1.3] (a91-156-160-115.elisa-laajakaista.fi. [91.156.160.115]) by mx.google.com with ESMTPS id q8sm263020lbj.2.2012.08.15.02.31.04 (version=SSLv3 cipher=OTHER); Wed, 15 Aug 2012 02:31:04 -0700 (PDT) Message-ID: <1345023063.3494.20.camel@deskari> Subject: Re: [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays From: Tomi Valkeinen To: Raphael Assenat Cc: linux-omap@vger.kernel.org Date: Wed, 15 Aug 2012 12:31:03 +0300 In-Reply-To: <20120717140140.GC3850@renkinjitsu.usine.8d.com> References: <20120717140140.GC3850@renkinjitsu.usine.8d.com> X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQkzfgDJYQzzcuZ7Ix53b4gAJi0QtqTtx26s53OjA+CybW71yZY9387Ipzt8Xv7Zdg5aRs85 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, On Tue, 2012-07-17 at 10:01 -0400, Raphael Assenat wrote: > Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays. > This needed to be converted to work with latest kernel. See patch below. I've applied the patch to my dev branch, mail me if it's not correct. commit f4e491f283266b53a926eb3c9017505b04786b9b (HEAD, dev) Author: Raphael Assenat Date: Tue Jul 17 10:01:40 2012 -0400 OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays. Signed-off-by: Raphael Assenat Signed-off-by: Tomi Valkeinen diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c index bc5af25..ae862bb 100644 --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c @@ -538,6 +538,82 @@ static struct panel_config generic_dpi_panels[] = { }, .name = "primeview_pd104slf", }, + + /* ChiMei G121S1-L01 */ + { + { + .x_res = 800, + .y_res = 600, + + .pixel_clock = 39700, + + .hfp = 128, + .hsw = 1, + .hbp = 128, + + .vfp = 28, + .vsw = 1, + .vbp = 28, + + .vsync_level = OMAPDSS_SIG_ACTIVE_HIGH, + .hsync_level = OMAPDSS_SIG_ACTIVE_HIGH, + .data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, + .de_level = OMAPDSS_SIG_ACTIVE_HIGH, + .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, + }, + .name = "chimei_g121s1-l01", + }, + + /* ChiMei G121S1-L02 */ + { + { + .x_res = 800, + .y_res = 600, + + .pixel_clock = 40000, + + .hfp = 1, + .hsw = 256, + .hbp = 1, + + .vfp = 1, + .vsw = 28, + .vbp = 1, + + .vsync_level = OMAPDSS_SIG_ACTIVE_HIGH, + .hsync_level = OMAPDSS_SIG_ACTIVE_HIGH, + .data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, + .de_level = OMAPDSS_SIG_ACTIVE_HIGH, + .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, + }, + .name = "chimei_g121s1-l02", + }, + + + /* ChiMei G121X1-L01 */ + { + { + .x_res = 1024, + .y_res = 768, + + .pixel_clock = 64900, + + .hfp = 160, + .hsw = 1, + .hbp = 160, + + .vfp = 38, + .vsw = 1, + .vbp = 38, + + .vsync_level = OMAPDSS_SIG_ACTIVE_HIGH, + .hsync_level = OMAPDSS_SIG_ACTIVE_HIGH, + .data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE, + .de_level = OMAPDSS_SIG_ACTIVE_HIGH, + .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, + }, + .name = "chimei_g121x1-l01", + }, }; struct panel_drv_data {