From patchwork Thu Oct 2 19:16:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 396075 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 32ED0140180 for ; Fri, 3 Oct 2014 05:19:43 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6BF65AB5EB; Thu, 2 Oct 2014 21:18:31 +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 l1W99BDjGV0b; Thu, 2 Oct 2014 21:18:31 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C5AEDAB5EC; Thu, 2 Oct 2014 21:17:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 97157AB562 for ; Thu, 2 Oct 2014 21:17:54 +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 OaOTDRroNIyq for ; Thu, 2 Oct 2014 21:17:54 +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-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by theia.denx.de (Postfix) with ESMTPS id 8C8BEAB5BA for ; Thu, 2 Oct 2014 21:17:38 +0200 (CEST) Received: by mail-pa0-f47.google.com with SMTP id rd3so3277880pab.20 for ; Thu, 02 Oct 2014 12:17:37 -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=77l1NcFftOODuKRfer6sBAaeopf/kNX+FKiyBeT6Z34=; b=hGGCZkrDewwIAzWzjryv0hbIKv7fYK7fKnA7YKyXtzvCsXrC7xN9NYe6+6JkBwmnZ9 PmLKVL43APrnk47hBchLgvrFMaPGQjNJI1X3Hk7oAa41l+7bp1YrVsMmXUKhGQtiJ6wO lzGChm+4PPshNF53f+TWdSSd6IpPehQf3yWRUMefTzLfdZRZ3WBG/g1hz6FmmCIS5xUJ joWTda7INWX59zgB3yF5rxOlVP0s5RaI3naFa363baaX7Vr7AP4lOsGlRmQbD4eBXDti oKauZadWaZCZR85x3ME4iSfOpCPCjPRGGbBrRF/cfVNgn53aTnkCO18ySsJvoMnfhjAa eBcw== X-Gm-Message-State: ALoCoQmp7DK+KzKX6QnBG111cemFY+vPp1T1pafPCa1qLC6KWSfu/1XtbGrIP7GwSxHuA35YuwHT X-Received: by 10.69.25.35 with SMTP id in3mr1081300pbd.63.1412277457282; Thu, 02 Oct 2014 12:17:37 -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.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Oct 2014 12:17:36 -0700 (PDT) From: Eric Nelson To: u-boot@lists.denx.de Date: Thu, 2 Oct 2014 12:16:36 -0700 Message-Id: <1412277413-30271-16-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 15/32] nitrogen6x: display: add svga display (800x600) 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 800x600 18-bit RGB displays using VESA GTF timings. 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 b1d85da..6695f87 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -640,6 +640,26 @@ struct display_info_t const displays[] = {{ .sync = 0x40000002, .vmode = FB_VMODE_NONINTERLACED } }, { + .bus = 0, + .addr = 0, + .pixfmt = IPU_PIX_FMT_RGB666, + .detect = NULL, + .enable = enable_rgb, + .mode = { + .name = "svga", + .refresh = 60, + .xres = 800, + .yres = 600, + .pixclock = 15385, + .left_margin = 220, + .right_margin = 40, + .upper_margin = 21, + .lower_margin = 7, + .hsync_len = 60, + .vsync_len = 10, + .sync = 0, + .vmode = FB_VMODE_NONINTERLACED +} }, { .bus = 2, .addr = 0x48, .pixfmt = IPU_PIX_FMT_RGB666,