From patchwork Mon Aug 29 09:33:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 74885 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1538140qga; Mon, 29 Aug 2016 02:34:34 -0700 (PDT) X-Received: by 10.98.135.13 with SMTP id i13mr30999349pfe.44.1472463274229; Mon, 29 Aug 2016 02:34:34 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id f3si21513331pas.30.2016.08.29.02.34.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2016 02:34:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1beIwm-0006eN-HN; Mon, 29 Aug 2016 09:33:40 +0000 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1beIwg-0006Dl-C4 for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2016 09:33:36 +0000 Received: by mail-lf0-x233.google.com with SMTP id f93so96574329lfi.2 for ; Mon, 29 Aug 2016 02:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=n4ISK/YqRXkyskeL6zH1a7cFjp/F44Oa437NACIoZ1M=; b=UEUR24UaMQvS2Dtw1NucmegYJCaOJ5mDZoFkRMqhML5Z/IBQxjf77qbJ5ItoMI0RBG o3+Y+6tuFX9iQ00qvvp2w8ZkBkVhCHHStL2DPe2FgY268b7FTpM+MVBV6BGzgkS8z1J5 pY3kmb5/Zn7rpalxWtK8pD3DasMqryZg34xcY= 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; bh=n4ISK/YqRXkyskeL6zH1a7cFjp/F44Oa437NACIoZ1M=; b=cfX7PgQ3Zp3fuc0md4qfLm4KV2Gy0u7wd8YbLMt17h3iSDH4UMl/UpO4yvhNNDMNDe rx//dwyvL1zbEa5ECZTME+KtcORdjNPesODFKYiwCZeH0e/eXaTX0rgQKgyPADd5M5xC Z1RU3+eLYspY2FlPQdHon/Dut2Ey8xb8x4sPg+LD8LHUog+5KTEauFnUqRKSnbzUpuB2 9B96sWbAIGuunEFmwJW4RYPc0E6OPuLwo3C/BPVfGgugoZv/87PIQJ8GkQgNb6ZOcy/o NNEAW0OmWsq1glKcyEkGnKRXEDsEJNAtw/Ez4WIx8jgEoeWgb7A2oma7LrHVy12X53M9 hT2Q== X-Gm-Message-State: AE9vXwPIi6mqY04Jd7IdGCniS1Pt4Cpp55TnDURteWDMQU2V6MPlbiDx5FyfZXHKrKIPy36x X-Received: by 10.25.37.18 with SMTP id l18mr5363524lfl.88.1472463192130; Mon, 29 Aug 2016 02:33:12 -0700 (PDT) Received: from linuslaptop.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id e22sm6223629lji.1.2016.08.29.02.33.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2016 02:33:11 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: integrator: move CP CLCD display to DTS Date: Mon, 29 Aug 2016 11:33:04 +0200 Message-Id: <1472463184-9272-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160829_023334_683464_57E93936 X-CRM114-Status: GOOD ( 13.13 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:233 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , Russell King , Arnd Bergmann MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The Integrator/CP CLCD VGA display can now be registered fully from the device tree. Delete the board file code and add the display definition to the DTS. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/integratorcp.dts | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/boot/dts/integratorcp.dts b/arch/arm/boot/dts/integratorcp.dts index 371173ec63fd..915203b4083f 100644 --- a/arch/arm/boot/dts/integratorcp.dts +++ b/arch/arm/boot/dts/integratorcp.dts @@ -249,7 +249,42 @@ reg = <0xC0000000 0x1000>; interrupts = <22>; clocks = <&auxosc>, <&pclk>; - clock-names = "clcd", "apb_pclk"; + clock-names = "clcdclk", "apb_pclk"; + + port { + /* + * The VGA connected is implemented with a + * THS8134A triple DAC that can be run in 24bit + * or 16bit RGB mode. + */ + clcd_pads: endpoint { + remote-endpoint = <&clcd_panel>; + arm,pl11x,tft-r0g0b0-pads = <1 7 13>; + }; + }; + + 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>; + }; + }; }; }; };