Received: by 10.213.65.68 with SMTP id h4csp1205447imn; Mon, 26 Mar 2018 03:02:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvkdKKFtfMkuDsMliO+8j75dbT8feUYZRp6hrkG4xuf+zrjsM7tsIOv7ri1v+6TxLh+l+i4 X-Received: by 2002:a17:902:1006:: with SMTP id b6-v6mr10635501pla.252.1522058551384; Mon, 26 Mar 2018 03:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522058551; cv=none; d=google.com; s=arc-20160816; b=XmjjypCcSjgits4sADenf23mEhd1chz5oeiopNBPXKrGyaqU2Ik+0USOA5HLgTDHul B1L1T+4zepYPUSYiTVAK7CQhloC/tG7jLAYA245F1ucr4reS0fbwNYaQPXrtPEu27pWG 0aVf3b4eF3wu+34I9Ky2qXChYhC754lubpKB9FGp5hJc2I9YBRFLxE+egU7++lMFki4i 9to8d7/MEQB+lzCeD0KfE82LIHAdFjTAzWPGK9JtBtoazBdisPl5iV4pYePPmin7jt8W kzE80ijavPt5OiFmZLLk/rDQ8yYkOIL0W70FegpaVpho9AU0GvhR/Grg21Jai06vW3ci iM2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=dDCG4ko1Leux7tkGtfb8tC9aT8yDjEzrbuqp9kuzyYk=; b=JB5rz8MSSfpq+1VcattdF42RR09ezgiGKhaM1wC4lCmJC9ucgfqHfOgfbi64qgUMrb gdaiwRQXyvVVuKqhkJ3qXntJpJ0dD+qOUJslep/0qOssmw7GncrMcH9B5++2I2/PfBLU tRoYt0IIiRdlzEMjhEjqrWuNFmAMCSA5SZuINR1V8HpozpCV6kC8CjfiFccEP7fgJgUu nvcneXOURb/d8yLmqZUdjhFVf6U4X2BR3ImQb/KvFKlODDKowH6jgX7FCRjRElRYWpfg sQG1bzssYxpXojSd5hI7ab3i9cPUr5vqRr9v0GZXs1aVZy4B/sOVapcPXwmhC+vyExfg e0zA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1-v6si14631734pld.312.2018.03.26.03.02.16; Mon, 26 Mar 2018 03:02:31 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751748AbeCZKBU (ORCPT + 99 others); Mon, 26 Mar 2018 06:01:20 -0400 Received: from mail.bootlin.com ([62.4.15.54]:39147 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbeCZKBQ (ORCPT ); Mon, 26 Mar 2018 06:01:16 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id C1C8820711; Mon, 26 Mar 2018 12:01:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 6FB13203A2; Mon, 26 Mar 2018 12:01:13 +0200 (CEST) Date: Mon, 26 Mar 2018 12:01:14 +0200 From: Maxime Ripard To: Paul Kocialkowski Cc: Giulio Benetti , Thierry Reding , devicetree@vger.kernel.org, David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/7] ARM: dts: sun7i: Add pinmux settings for LCD0 RGB888 output. Message-ID: <20180326100114.fa7vjw342ad6vrb6@flea> References: <1521662593-25468-1-git-send-email-giulio.benetti@micronovasrl.com> <1521662593-25468-4-git-send-email-giulio.benetti@micronovasrl.com> <1521986953.5301.4.camel@paulk.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kvyug2bhn367ymkd" Content-Disposition: inline In-Reply-To: <1521986953.5301.4.camel@paulk.fr> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kvyug2bhn367ymkd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Mar 25, 2018 at 04:09:13PM +0200, Paul Kocialkowski wrote: > Le mercredi 21 mars 2018 =E0 21:03 +0100, Giulio Benetti a =E9crit : > > The A20 supports RGB888 with H/V sync from LCD0. Add a pinmux setting > > for the needed pins. > >=20 > > Signed-off-by: Giulio Benetti > > --- > > arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > >=20 > > diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi > > b/arch/arm/boot/dts/sun7i-a20.dtsi > > index efb5607..bfe6728 100644 > > --- a/arch/arm/boot/dts/sun7i-a20.dtsi > > +++ b/arch/arm/boot/dts/sun7i-a20.dtsi > > @@ -922,6 +922,14 @@ > > pins =3D "PI20", "PI21"; > > function =3D "uart7"; > > }; > > + > > + lcd0_rgb888_pins: lcd0-rgb888-pins { >=20 > It would be more consistent with other pins definitions to have > underscores in both names and to indicate the index, such as: > lcd0_rgb888_pins: lcd0_rgb888_pins@0 { Both your suggestions will generate DTC warnings, and we'd like to get rid of them eventually :) > This way, other set of pins for LCD (PH0-PH27) can be declared as @1 > when they are needed in the future. A better idea would be to call it lcd0-rgb888-pd-pins, and introduce the ph variant when it's done. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --kvyug2bhn367ymkd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlq4xOkACgkQ0rTAlCFN r3QwMQ/+KtpVlKKnNuCBTlk+QQBWB9RbdhcRiowimtbvNrdC76o1Euhug/HUHSky IMa98Ip9Y6qXKD11OPws+sCIUitYz3CrQ6wjgXFmt0Ez5c555tbW3Pppx5Z6Xes/ OMPxenqwvrLUVnip14V5twoDR/uUmidR6fN4V8KY7/QBU6o2z4XvkCVfjkomkuF7 PxVBCUS7ZQgN6fLES5pDh9U3u4k7L8m0XO6hZiLjLERNO2YzkD9oNM9I2A5yi8T9 F4yoh93JTVBAn6X8mz9LRyd3+1CK9q0UbZIeXPoZ29lzc3hP8kwd9j91r2Evjx0P SBdeXnAhZdwhmTntub0x3dBC1sVRwj2Mip44roxccpgyVjWDJfHn7fqcyIBQhkW+ lbrqq2tC9PeljoGe5JiBnHE7zk47xXj7m2K0KRe2/HVUDjJmIHMvdqbM2q5j9sA+ iVItxjgSTZCQhVqS1yqMHsIqupsG4IId3YqkoYHHVSqXi21nXLqy2SklWnkQplPy /tY7n208rqD9gGbVIk/G2GCRgslsqUimYvtlvJg9ryKMOLn53NeZbpNxMCFXbg1R 1zWMOYUOEMK5unpZrl8cEtV55sGxrFzFoqALf53DPesckaQR3PS2Ohl87vhDNAqY rtNQijtgNZmBatSgUjJEuZ8of9YHqyGaZVTnAi6TRtO+/OLZNCo= =FPMJ -----END PGP SIGNATURE----- --kvyug2bhn367ymkd--