Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1511084ybv; Fri, 14 Feb 2020 00:56:10 -0800 (PST) X-Google-Smtp-Source: APXvYqwkv7tJ6psGkLxJPfsuausEHs6qZFiiDWs3jgNlWs3e2utOiZ14jZSQRkh3en7l6B2Kewxe X-Received: by 2002:aca:4e02:: with SMTP id c2mr1189448oib.142.1581670570116; Fri, 14 Feb 2020 00:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581670570; cv=none; d=google.com; s=arc-20160816; b=msZ5D6LXP7t5ov7Q45fMTNzT/JQIl5SLpLQf3/xIb2f4P+om+VcwYjvFHTfMGAT/A0 afnB2OR92jfIZS5bIAVxggZqjAD5Q7abeTTn86xfpC4jTruPtHaBwHnhBadFAssPYM5L QKZdBOIpppPcOkiGmd5DQJgJWFalXSvtBvaOuxV8utaqoE9lqcWEGFN0HHKnhlszrOK6 /seefdHnHsDhRBdoPu1YcASk7hYTaZqLU9Fod+1aVbceygfU0xMqORTxRE0heyhSJeuc lmI+23hTBxyyhHvF+OYH6kOjKKUvygVL/pvovOe7gAjCCdSD8pW1hE6P9Qmv8U/vAtl0 sjTA== 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=/a85ZSsJiYdegZEdtXRPQlGTMavavDGNTs4eYyPQzJ8=; b=XLSntKxEFGj1G9bm/m+Vl/lHNY/ld3KhpRDjtGgm3OIVqaWlT4w/IByczvotlWO/Ds 4Tdk0bgThGK2v3RunHdFe9ikkQa+lbDT1WH/kdZWydQmZvmF6XXGhfTmAEdZRq8Bk8Qr T4UzOmXnJxjFgHd7qbMCrOHhW0Sd7HJYkXQLlYkxdVkLChIYJQroUH0C6O92OB9Q3ZyF KV1HiV+dzFNkwOLO7SqyIV5BUAd1McfCAXy8+Vo397lEMASilb305cRmC4SOs+ma+Huo G3OA+V/8+kv25gEKTVQZqmnOIsYFOLqvCDASY0DMAWaWvtL20JsgoCmQZQtKkyTbWcFZ iIlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=tywSwr8n; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=jwUvz1sG; 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 i8si2570490otp.254.2020.02.14.00.55.57; Fri, 14 Feb 2020 00:56:10 -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=tywSwr8n; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=jwUvz1sG; 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 S1728911AbgBNIzp (ORCPT + 99 others); Fri, 14 Feb 2020 03:55:45 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60029 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726004AbgBNIzp (ORCPT ); Fri, 14 Feb 2020 03:55:45 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6905021E50; Fri, 14 Feb 2020 03:55:44 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 14 Feb 2020 03:55:44 -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=/a85ZSsJiYdegZEdtXRPQlGTMav avDGNTs4eYyPQzJ8=; b=tywSwr8n8QHjBlblmLU5aBpL1DvLo+5/rV8/BGgkCGm CP3fb82G/Ad1WsdxgE/1OtzbjhSapfFXP2/Ai032DiWXJvRYfbvu1UoYjeWC/Mz7 ZuCIQ4ohLtmlORxknqU08LWF86QuLpJjIsa8eB/23sh7n68WqlHc1DyCFMa7gM15 TgcGP4+uVnuNWS+HqlMh6L9uRwhVFHRxb62GUv1vZqiZG7PW+IytEE7TASOMKdJ/ VxEvZ3R95ja5/2Vq/YLvlHeu8LIv1Vi5AgBYblbC04Bocu5qmA3i0BC8lboHJJz3 a9TttybUoo4ak+b0EcbOxRk4zf5f0IX0FHeD6z8qDJw== 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=/a85ZS sJiYdegZEdtXRPQlGTMavavDGNTs4eYyPQzJ8=; b=jwUvz1sGGhS8mq/RYpI6tk nHuQY2j3Q2edywj2uBKEOEznYxcF/zHLX6vCM5xpGDS0iIWbXaUd7XpYyvvS98W8 7EgIE2+gNRDGAyFQtJGMPw7KzpJfNiMCOYfX3iaJabhfMZLE8hUvT46/w692n0Dc CAaXyHl2C4ptEl0Wd+6NWqs5Mq/7ygaXwQtA7zEDIuoENsxYvR1WH2Jf+F5vUyj+ py1QA0qCJYE9+1MrUDtfPLidZq8A44pYk+WJthB/zxbp2uGbTVmn2PHKVR6StT7f OdjExoN5fWRXjyP0/AAXzoOZKKnpn1PmogT+r8n69uJUbFox/yw7ag/RLU05NbwQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieelgdduvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecukfhppeeltd drkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi 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 15C3F3060BD1; Fri, 14 Feb 2020 03:55:42 -0500 (EST) Date: Fri, 14 Feb 2020 09:55:41 +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 v3 3/3] ARM: dts: sun7i: Add LVDS panel support on A20 Message-ID: <20200214085541.mfp72rwyidfkf6wr@gilmour.lan> References: <20200210195633.GA21832@kedthinkpad> <20200213201854.810-3-andrey.lebedev@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vxvbh5ewfbsbnjy5" Content-Disposition: inline In-Reply-To: <20200213201854.810-3-andrey.lebedev@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vxvbh5ewfbsbnjy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 13, 2020 at 10:18:57PM +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 | 28 ++++++++++++++++++++++++++-- > 1 file changed, 26 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi > index 92b5be97085d..3b3c366a2bee 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>; > @@ -407,8 +408,8 @@ > compatible = "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 +445,11 @@ > #size-cells = <0>; > reg = <1>; > > + tcon0_out_lvds: endpoint@0 { > + reg = <0>; > + allwinner,tcon-channel = <0>; > + }; > + > tcon0_out_hdmi: endpoint@1 { > reg = <1>; > remote-endpoint = <&hdmi_in_tcon0>; > @@ -1162,6 +1168,24 @@ > pins = "PI20", "PI21"; > function = "uart7"; > }; > + > + /omit-if-no-ref/ > + lcd_lvds0_pins: lcd-lvds0-pins { The nodes here should be ordered by alphabetical order > + pins = I'm not sure why you need a new line here > + "PD0", "PD1", "PD2", "PD3", "PD4", > + "PD5", "PD6", "PD7", "PD8", "PD9"; > + function = "lvds0"; > + allwinner,drive = ; And allwinner,drive is also deprecated and at its default value anyway Maxime --vxvbh5ewfbsbnjy5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXkZgjQAKCRDj7w1vZxhR xUpIAQCU4grCWDNWYH8iKUVKxI050gsFcXKfbe4o1PEEMKl+awEA0I7IdRkoWQva VEi+atkzhqlMoosoisULNuchXIdCPgA= =6FR0 -----END PGP SIGNATURE----- --vxvbh5ewfbsbnjy5--