From patchwork Thu Oct 2 19:16:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 396077 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8115C140180 for ; Fri, 3 Oct 2014 05:20:01 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 33D62AB620; Thu, 2 Oct 2014 21:18:40 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kE5XUr1Vslxd; Thu, 2 Oct 2014 21:18:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 83D4FAB59F; Thu, 2 Oct 2014 21:18:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7511CAB5F4 for ; Thu, 2 Oct 2014 21:18:03 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lXulH-7rMhi2 for ; Thu, 2 Oct 2014 21:18:03 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by theia.denx.de (Postfix) with ESMTPS id 39210AB5C9 for ; Thu, 2 Oct 2014 21:17:43 +0200 (CEST) Received: by mail-pa0-f42.google.com with SMTP id bj1so3321103pad.29 for ; Thu, 02 Oct 2014 12:17:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B8jEoB47i/6U3Yo136p5f3blNs4t/o8Cmq8CptDx6uw=; b=JhxxGLTzK7tI7h9InqsgT+j2zq4eWUB1WxYhrFpatXknwYLZKshrPrvsrRAYGXPRq0 FTcmHTyPxYdXWDlg6CcuPldSONu4n6e2UVijoNaeQtJiCFmUbogesh0d7RXRp64LGbEh qw0rRhdTaFWqPtpsX4d+bbIY/61wWxC4bVwwEcgD/m/dtKkj3v5VVebGz9ZmTA42zJmI +WJgu0vISUTaxJdFv9plR4BIB/rMLd4OQ9eROK8VhuxEGMcqQ8K39AWmPrYMYOdD9tq5 5uyHAzKes/Anb0jPmOxc9K6ZZvVxkuR9mFmzoE89Ak0s3tymolVHILPQ5oqtjsD2f2o7 2wWw== X-Gm-Message-State: ALoCoQkGr7nMP+qpycgplnY6GMOAdIpYpanDMPHZpjbdx254UekIzEI9NPZDIaKIiCxlWrisLvh4 X-Received: by 10.68.68.193 with SMTP id y1mr1175932pbt.136.1412277462692; Thu, 02 Oct 2014 12:17:42 -0700 (PDT) Received: from localhost.localdomain (174-19-208-215.phnx.qwest.net. [174.19.208.215]) by mx.google.com with ESMTPSA id ot8sm4569317pbc.1.2014.10.02.12.17.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Oct 2014 12:17:41 -0700 (PDT) From: Eric Nelson To: u-boot@lists.denx.de Date: Thu, 2 Oct 2014 12:16:38 -0700 Message-Id: <1412277413-30271-18-git-send-email-eric.nelson@boundarydevices.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412277413-30271-1-git-send-email-eric.nelson@boundarydevices.com> References: <1412277413-30271-1-git-send-email-eric.nelson@boundarydevices.com> Cc: diego.rondini@kynetics.it Subject: [U-Boot] [PATCH 17/32] nitrogen6x: display: add wvga-lvds panel X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add support for WVGA (800x480) panels using VESA GTF timings over LVDS. No auto-detection is supported, so you must configure this panel manually through the 'panel' environment variable: U-Boot > setenv panel svga U-Boot > saveenv && reset Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index c91e0c4..115ee81 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -680,6 +680,26 @@ struct display_info_t const displays[] = {{ .sync = FB_SYNC_EXT, .vmode = FB_VMODE_NONINTERLACED } }, { + .bus = 0, + .addr = 0, + .pixfmt = IPU_PIX_FMT_LVDS666, + .detect = 0, + .enable = enable_lvds, + .mode = { + .name = "wvga-lvds", + .refresh = 57, + .xres = 800, + .yres = 480, + .pixclock = 15385, + .left_margin = 220, + .right_margin = 40, + .upper_margin = 21, + .lower_margin = 7, + .hsync_len = 60, + .vsync_len = 10, + .sync = FB_SYNC_EXT, + .vmode = FB_VMODE_NONINTERLACED +} }, { .bus = 2, .addr = 0x48, .pixfmt = IPU_PIX_FMT_RGB666,