From patchwork Thu Feb 4 14:04:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 61186 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp476187lbl; Thu, 4 Feb 2016 06:05:43 -0800 (PST) X-Received: by 10.98.71.130 with SMTP id p2mr11095594pfi.99.1454594742218; Thu, 04 Feb 2016 06:05:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 82si16939732pfq.218.2016.02.04.06.05.41; Thu, 04 Feb 2016 06:05:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757971AbcBDOFg (ORCPT + 2 others); Thu, 4 Feb 2016 09:05:36 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:32976 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757735AbcBDOFe (ORCPT ); Thu, 4 Feb 2016 09:05:34 -0500 Received: by mail-lf0-f42.google.com with SMTP id m1so37371748lfg.0 for ; Thu, 04 Feb 2016 06:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PVZnaV+aNvCE6RsEN/7s7qr+wNU05kkxf2n6SXUZQMM=; b=OWebJIxfx5A4JSwav+brxf00tjh9LPzl0om4pTl7fmg4ZLiz/jXAYvcqJQopOqv+77 NQxK0eqvB4Lm/0dGe8OwaWfllg/a2OE6MiVtBiKJg7aXWBKdDuMrnsJsuURri5/lU863 mH2BE3mRZ0+ugTGzDidQJwhqD3SJvG9o/uc3Y= 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=PVZnaV+aNvCE6RsEN/7s7qr+wNU05kkxf2n6SXUZQMM=; b=QCGRkCd0ETyyGP2MiKZSR0XfuhmYT3RuL2+3gpGbubrkjlFLWZ6O1YdkhdXPMNiRop 5dsadtAMdeDPWF6RQGuJLMpfycWm+dKhE51/o156XrxJurLpzbNowF+4PW4QRqb2k4dt DB+PikGvTmfgP+fewjl+mQSZaCWb+1h2l+5hzmN+n30ys/dXKV/QBgsWdPxXF5dM8Hxk p3/sOVBpvQlemKpNIEmbqgoVAuhA9GoiJ6VbnV40B2orY8hbLdO8WXMmXLdGm7Nb8blA Y++SSMCCA5xOyna75dDFpR882CwwagFoo1u+crTgv1CfWsTm/pTiQteUwRhxibZpg/i6 XGCw== X-Gm-Message-State: AG10YOQ1alqdHILJAEg0R1j0N6V0q+Z2Q61E5J85RTPOU0MwB4YGL7tR/qq7a4djnYfGofQa X-Received: by 10.25.137.194 with SMTP id l185mr3537536lfd.41.1454594732810; Thu, 04 Feb 2016 06:05:32 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m21sm1576066lfe.29.2016.02.04.06.05.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 06:05:31 -0800 (PST) From: Linus Walleij To: linux-fbdev@vger.kernel.org, Tomi Valkeinen , Jean-Christophe Plagniol-Villard , Pawel Moll , Rob Herring , Russell King Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Linus Walleij Subject: [PATCH 10/11] ARM: PB1176: define a standard VGA panel Date: Thu, 4 Feb 2016 15:04:19 +0100 Message-Id: <1454594660-7532-11-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1454594660-7532-1-git-send-email-linus.walleij@linaro.org> References: <1454594660-7532-1-git-send-email-linus.walleij@linaro.org> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This defines the CLCD block in the PB1176 and adds a standard 640x480 VGA panel to the device tree. Cc: Pawel Moll Cc: Rob Herring Cc: Russell King Signed-off-by: Linus Walleij --- arch/arm/boot/dts/arm-realview-pb1176.dts | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts index d012ecf25127..af10d888545b 100644 --- a/arch/arm/boot/dts/arm-realview-pb1176.dts +++ b/arch/arm/boot/dts/arm-realview-pb1176.dts @@ -362,6 +362,46 @@ clocks = <&uartclk>, <&pclk>; clock-names = "uartclk", "apb_pclk"; }; + + clcd@10112000 { + compatible = "arm,pl111", "arm,primecell"; + reg = <0x10112000 0x1000>; + interrupt-parent = <&intc_dc1176>; + interrupt-names = "combined"; + interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&oscclk0>, <&pclk>; + clock-names = "clcdclk", "apb_pclk"; + + port { + clcd_pads: endpoint { + remote-endpoint = <&clcd_panel>; + arm,pl11x,tft-r0g0b0-pads = <0 8 16>; + }; + }; + + panel { + compatible = "panel-dpi"; + + port { + clcd_panel: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + /* Standard 640x480 VGA timings */ + panel-timing { + clock-frequency = <25175000>; + hactive = <640>; + hback-porch = <48>; + hfront-porch = <16>; + hsync-len = <96>; + vactive = <480>; + vback-porch = <33>; + vfront-porch = <10>; + vsync-len = <2>; + }; + }; + }; }; /* These peripherals are inside the FPGA rather than the DevChip */