From patchwork Tue Jul 17 14:01:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFwaGHDq2wgQXNzw6luYXQ=?= X-Patchwork-Id: 1205231 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 DE72A3FD9C for ; Tue, 17 Jul 2012 14:01:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753931Ab2GQOBm (ORCPT ); Tue, 17 Jul 2012 10:01:42 -0400 Received: from roc.holo.8d.com ([64.254.227.115]:53797 "EHLO roc.holo.8d.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827Ab2GQOBl (ORCPT ); Tue, 17 Jul 2012 10:01:41 -0400 Received: from raph.usine.8d.com ([192.168.142.55] helo=renkinjitsu.usine.8d.com) by roc.holo.8d.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Sr8LM-0001WK-Fw for linux-omap@vger.kernel.org; Tue, 17 Jul 2012 10:01:40 -0400 Received: from raph by renkinjitsu.usine.8d.com with local (Exim 4.72) (envelope-from ) id 1Sr8LM-00067s-BK for linux-omap@vger.kernel.org; Tue, 17 Jul 2012 10:01:40 -0400 Date: Tue, 17 Jul 2012 10:01:40 -0400 From: Raphael Assenat To: linux-omap@vger.kernel.org Subject: [PATCH] OMAPDSS: Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays Message-ID: <20120717140140.GC3850@renkinjitsu.usine.8d.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.6 X-Spam-Level: -- X-Spam-Report: -2.6 points, 5.0 required autolearn=ham -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add timings for ChiMei G121S1-L01/L02 and G121X1-L01 LCD displays. Signed-off-by: Raphael Assenat --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c @@ -486,6 +486,80 @@ static struct panel_config generic_dpi_panels[] = { OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC, .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 + }, + .acbi = 0x0, + .acb = 0x0, + .config = OMAP_DSS_LCD_TFT, + .power_on_delay = 0, + .power_off_delay = 0, + .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 + }, + .acbi = 0x0, + .acb = 0x0, + .config = OMAP_DSS_LCD_TFT, + .power_on_delay = 0, + .power_off_delay = 0, + .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 + }, + .acbi = 0x0, + .acb = 0x0, + .config = OMAP_DSS_LCD_TFT, + .power_on_delay = 0, + .power_off_delay = 0, + .name = "chimei_g121x1-l01", + }, + }; struct panel_drv_data {