Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp909873ybv; Thu, 20 Feb 2020 09:23:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxpnyObfJS2QBzFw7OznfaoCT62Oqofjev/aRzzBqU9nax/EBPY7JaM8yFOQzWRlPv/RlJK X-Received: by 2002:a9d:7c9a:: with SMTP id q26mr26031928otn.206.1582219435953; Thu, 20 Feb 2020 09:23:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582219435; cv=none; d=google.com; s=arc-20160816; b=aaJkEMTdqQ8szNHBHOqX6Gqq0yFOguVfwQ9boZvgcyP+KPWEgBCXanlW5dmhlUw1Fn fru4Uoelx92WupoEiDFO5d0WJYZ8r5bujRB/vNqwb6bwr2B+iKWRL8U5gFP9R7VB8bL3 PfCQeoZBPKR+83F5O/hahYdy8J8NDSePX5u1NCn7dpEj693fmelX7c8Pi7tPMlbhto1K 7pR33VJWUsyEtEb5AVZ6KysM/A1MTEcGcrNUBd4WcOgEA8L2dUvthF4yTDToqTx7yNCR 9msMJ+vg9PYy5pjC3jCwMG4AY7YIxJJX5L4IX4Yd8T9qZPg3/ttr/JMcm0CQQhALur7Y 7j5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=vbvI29EQ0v8H6J4KfL2LWXgZy9KYsqNtddfsF3hvK68=; b=RTZiTJDZfC6NFSpnRb/t0QovVpxwLvX0dFr0f/q0mTxYNX7mTSmnSygE4V4PWdMXY9 fvRlLqDkioM0lntN5ZOuThoKG24bMn7zM5mpy2eWYgzjIOqeKMtfEodXmsUGPejnifv7 HyONVlRv3S3HNF2gDsrxZElg3rbPDU/5gzRQ68/6+LoT/KJ0F0t7xwM7QpetTU0l8zNg jPzJVlQWa1z1rkDLTT/eHykjo7+Q+FcWOd3oEvyZ1hr62yKaPZNGi7pDNmtzjSgkCsDS 9AIcNMpt8r4yQvc56zbMG9pNVCsNJibiBvNH/6Kxbm9SPN/kouwwu9BvrcEOGMLDPcmD 0P2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=ajY+f6+o; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=fiZBiIh2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24si4984otm.135.2020.02.20.09.23.43; Thu, 20 Feb 2020 09:23:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=ajY+f6+o; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=fiZBiIh2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728671AbgBTRX0 (ORCPT + 99 others); Thu, 20 Feb 2020 12:23:26 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:42897 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728173AbgBTRX0 (ORCPT ); Thu, 20 Feb 2020 12:23:26 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BBB4021E29; Thu, 20 Feb 2020 12:23:25 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 20 Feb 2020 12:23:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=vbvI29EQ0v8H6J4KfL2LWXgZy9K YsqNtddfsF3hvK68=; b=ajY+f6+oQcGeRKarwVpE9Yi1OOem4Ka7HuzwJqJwqyn nRWtiEhP6XHwd0kci0kCV+LE3tGIdAOR79YosPBczTLT3pa3r5Pr9c+nH0VLz3Cm azkXzJSb33yaxX1fIFuTeu290KZKyjUs+CHNwmXuvRz1wM5QaSVf2uvyfLqlcGgh 4KD5uHZGi3FQKSZ6lbMCzD4H5uY9zdZsmj2SVerUEFTTdMb+4gxNzE7ojqhFOCe9 Gd1CRT0asFYI5DXTLors4fH7Zf+F8NKXedLaP4O1ZOgPWMNuaf2jVdpnNScLy+An XltbPA70DuvRE6AyvUTzf52EYBlmPqRaVQnEasdUz0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vbvI29 EQ0v8H6J4KfL2LWXgZy9KYsqNtddfsF3hvK68=; b=fiZBiIh2MzQrDMzZaPhzVZ XUs09j+V726JW9G8OmfADC8oJT1dVdLoNkbvMkrylFXB8SUBK3/O/CfM7iw7xWB7 TDPkz1XL7Dv6/au5VA1OsQU8LLcNWMvWP6vRCB/yGHJFBteA1VNSdOma5H7VTsPu QYYV6GCJIMETbYphucDpRSaWA8R1bH00B5eoWy8kPMuEqxtS99wLRvfzh3pJ1X9Y QvWpfZ1vt5ywJ7gdQy5QckmelIHiKY1uSWvPvuPaYtgPirWzGSuLSeqN716teg+C tpsv8cmP5+w/7NMlAloMv6/90u8iH2oCNy2MOLO6xx/hA1z2fZxnRNk0LCBPrrqA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkedvgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecukfhppeeltd drkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghi lhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E5D3328005D; Thu, 20 Feb 2020 12:23:24 -0500 (EST) Date: Thu, 20 Feb 2020 18:23:23 +0100 From: Maxime Ripard To: Andrey Lebedev Cc: wens@csie.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Andrey Lebedev Subject: Re: [PATCH 3/5] ARM: dts: sun7i: Add LVDS panel support on A20 Message-ID: <20200220172323.lgeb4zqmbg6kcvr6@gilmour.lan> References: <20200210195633.GA21832@kedthinkpad> <20200219180858.4806-1-andrey.lebedev@gmail.com> <20200219180858.4806-4-andrey.lebedev@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d6sfey5dsbwbndvm" Content-Disposition: inline In-Reply-To: <20200219180858.4806-4-andrey.lebedev@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d6sfey5dsbwbndvm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 19, 2020 at 08:08:56PM +0200, Andrey Lebedev wrote: > From: Andrey Lebedev > > Define pins for LVDS channels 0 and 1, configure reset line for tcon0 and > provide sample LVDS panel, connected to tcon0. > > Signed-off-by: Andrey Lebedev > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 30 ++++++++++++++++++++++++++---- > 1 file changed, 26 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi > index 92b5be97085d..d50263c1ca9a 100644 > --- a/arch/arm/boot/dts/sun7i-a20.dtsi > +++ b/arch/arm/boot/dts/sun7i-a20.dtsi > @@ -47,6 +47,7 @@ > #include > #include > #include > +#include > > / { > interrupt-parent = <&gic>; > @@ -404,11 +405,12 @@ > }; > > tcon0: lcd-controller@1c0c000 { > - compatible = "allwinner,sun7i-a20-tcon"; > + compatible = "allwinner,sun7i-a20-tcon0", > + "allwinner,sun7i-a20-tcon"; > reg = <0x01c0c000 0x1000>; > interrupts = ; > - resets = <&ccu RST_TCON0>; > - reset-names = "lcd"; > + resets = <&ccu RST_TCON0>, <&ccu RST_LVDS>; > + reset-names = "lcd", "lvds"; > clocks = <&ccu CLK_AHB_LCD0>, > <&ccu CLK_TCON0_CH0>, > <&ccu CLK_TCON0_CH1>; > @@ -444,6 +446,11 @@ > #size-cells = <0>; > reg = <1>; > > + tcon0_out_lvds: endpoint@0 { > + reg = <0>; > + allwinner,tcon-channel = <0>; > + }; > + This isn't necessarily true. The endpoint would be the same for an RGB panel for example. I've followed what we're doing elsewhere and removed that endpoint entirely while applying, thanks! Maxime --d6sfey5dsbwbndvm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXk7AiwAKCRDj7w1vZxhR xbrdAP9X63/5hBLxm5f2JSxXpC2INrkCYBsgrd+YWuJGEwqb2wEAmkyx5BXcSBsi +JmpgeKEkfyHNnXY6iu8ddp9SayGMgI= =1aoH -----END PGP SIGNATURE----- --d6sfey5dsbwbndvm--