Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp442178imp; Wed, 20 Feb 2019 03:02:16 -0800 (PST) X-Google-Smtp-Source: AHgI3Iao5+grrz0tApJE1Nraa003Wx5HiBm1oQQ2zNV6GCHA2uTur10GZXCKPj5ys393oH7KiH7/ X-Received: by 2002:a62:7592:: with SMTP id q140mr34492156pfc.164.1550660536599; Wed, 20 Feb 2019 03:02:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550660536; cv=none; d=google.com; s=arc-20160816; b=H7FrZ3GhJPY8oSnZnSiziZXrbpW1UGzvkrx/HOBQLtYkwn/PSFfwdkhcIM8aHCdHbm qZQxuMJq1zAJWNf5f+Vn+iESjBbapbJ1qhhvRMlhpdh5j9FW99mQdfUlDmCK/UUxK7LU mcPt6K54PJLftQecD10F1I3t+jrAMVg+q61gL0exFl2JrjfyE+Z7D1qn5kH6Lvah67rv WAtY8TujgmTUiiyzOJRZDXC+XVm5ggUgsaZMWF71QfPPogbwRUDvLUNCd5kBnpynd0bi 3uD6lDAA1etGJr+besdk+SZdJ3zJAOjWXvJbhVjCe+suQAQCK17kxkLbmb8mlkCEPGz8 QqAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=siptryph78JSKgIkrx0+jfrRRcbCkDX7nU0Esj1vTaM=; b=CmpBl5GANOVaK+LtXenD0raIHWbVvqh5hlup4DTQqsl/5FLbzGkEdms9GZUqhpJmoA C9rOeX9YkLk5BVVJLCddYAFEza+DAHbNs2yVDn76Hg2nGdubBgcELSMiypeVyLdjAU40 U9MooEb/qwiW9bLrvY2RxDqI7wFCKwah5J+zDjpe27YQQkoj6S1hChAdhJ9EPmCzwwOa HVRo1WO4kuAjaya/BemoZSmtS7l6iakkRhxKQpeMa/vGsUobiq9YWWKzngEE/JXin05Q IoDa24H6pDA8dh02GAiW7WFr5EgQVdNfLBHXG7Qcx/ZUnaDnyCbNvwu3WabRhVMGcGuF yqjA== 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 e69si18148000pgc.552.2019.02.20.03.02.00; Wed, 20 Feb 2019 03:02:16 -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; 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 S1727830AbfBTLAA convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Feb 2019 06:00:00 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:44264 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726612AbfBTLAA (ORCPT ); Wed, 20 Feb 2019 06:00:00 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 710AA15632; Wed, 20 Feb 2019 10:59:58 +0000 (GMT) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Maxime Ripard Cc: Chen-Yu Tsai , Rob Herring , Mark Rutland , devicetree , linux-arm-kernel , linux-kernel Subject: Re: [PATCH] ARM: dts: sun7i: add pinctrl for missing uart mux options References: <20190216182132.12895-1-mans@mansr.com> <20190220090617.aprfndnidcamwcvy@flea> Date: Wed, 20 Feb 2019 10:59:58 +0000 In-Reply-To: <20190220090617.aprfndnidcamwcvy@flea> (Maxime Ripard's message of "Wed, 20 Feb 2019 10:06:17 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Maxime Ripard writes: > On Wed, Feb 20, 2019 at 04:58:49PM +0800, Chen-Yu Tsai wrote: >> On Sun, Feb 17, 2019 at 2:21 AM Mans Rullgard wrote: >> > >> > This adds pinctrl settings for various missing uart options. >> > >> > Signed-off-by: Mans Rullgard >> > --- >> > arch/arm/boot/dts/sun7i-a20.dtsi | 45 ++++++++++++++++++++++++++++++++ >> > 1 file changed, 45 insertions(+) >> > >> > diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi >> > index af5b067a5f83..2295ff5adf48 100644 >> > --- a/arch/arm/boot/dts/sun7i-a20.dtsi >> > +++ b/arch/arm/boot/dts/sun7i-a20.dtsi >> > @@ -944,6 +944,31 @@ >> > function = "uart0"; >> > }; >> > >> > + uart0_pf_pins: uart0-pf-pins { >> > + pins = "PF2", "PF4"; >> > + function = "uart0"; >> > + }; >> >> We've had the policy of not adding pinctrl nodes that aren't used in-tree, >> to avoid bloating up the blob size. However DTC 1.4.7 introduced the new >> /omit-if-no-ref/ directive, which would make the compiler discard marked >> nodes if they aren't referenced. >> >> So please add this to all the new nodes. It seems to work regardless whether >> you add it before or after the label, though having it after the label seems >> to make vim syntax highlighting happier. Should we also add this to existing nodes? BTW, I really do need all those uart pin options. -- M?ns Rullg?rd