From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3EB0C433C1 for ; Mon, 22 Mar 2021 16:20:03 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3E7A46197F for ; Mon, 22 Mar 2021 16:20:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E7A46197F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DdmYTQgLkheZEnIGy0M40Cx1KNvqOo57gh+gJ5TeXWU=; b=G1foR6Rxi56ol/db25xzzA3BR /rH1iWbBfQQepeXSYOdHktkEotmrS6mTwxoxW0BP5ZRtEemSLnyJh359u9gfh5GrbszNfIxRQa0R/ FGVWlWWr2dRVNkiFAQ3qDPjfG8aCCxog4ltAhO4oiRWL5j7G0yE29AZDt7xcnva0BdtPtTtWApOVQ trdX3/uxMh4AExDcpfMqqKlXFIWl/QVuWfR44wMLEiB/PcXQcgezXFJHGmXkLiRQi+djMgqZrt45z YpotsmZ6Sn32z4+P/bYuEJolm3T9ixodtwUZBbaA2t6JlMb9/rmpDurHyNkUZfPg03l2Jb5nSwRzw 6mN2Huc+Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lONFy-00C0p8-Pu; Mon, 22 Mar 2021 16:18:19 +0000 Received: from foss.arm.com ([217.140.110.172]) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lONFt-00C0om-UZ for linux-arm-kernel@lists.infradead.org; Mon, 22 Mar 2021 16:18:15 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3285E1042; Mon, 22 Mar 2021 09:18:11 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DA84E3F719; Mon, 22 Mar 2021 09:18:09 -0700 (PDT) Date: Mon, 22 Mar 2021 16:18:04 +0000 From: Andre Przywara To: Ivan Uvarov Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard , Rob Herring , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Subject: Re: [PATCH v2 1/4] ARM: dts: sun8i: r40: add /omit-if-no-ref/ to pinmux nodes for UARTs 0&3 Message-ID: <20210322161804.0395de61@slackpad.fritz.box> In-Reply-To: <20210322105538.3475183-2-i.uvarov@cognitivepilot.com> References: <20210322105538.3475183-1-i.uvarov@cognitivepilot.com> <20210322105538.3475183-2-i.uvarov@cognitivepilot.com> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210322_161814_216615_E7AEAB22 X-CRM114-Status: GOOD ( 20.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 22 Mar 2021 13:55:35 +0300 Ivan Uvarov wrote: Hi, > This patch adds the /omit-if-no-ref/ keyword to the pio nodes for > UART0 and UART3 pins of the R40 SoC, which would reduce the fdt size on > boards which do not use these UARTs. But what boards are those? It seems like all boards use uart3-pg and the two existing boards use UART0. I think the idea is to use omit-if-no-ref on some rarely used nodes, so if there is only a single user, for instance. Your next patch is a good example. So I don't think this patch here is needed at all. Cheers, Andre > > Signed-off-by: Ivan Uvarov > > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi > index d5ad3b9efd..0b257a0779 100644 > --- a/arch/arm/boot/dts/sun8i-r40.dtsi > +++ b/arch/arm/boot/dts/sun8i-r40.dtsi > @@ -631,16 +631,19 @@ spi1_cs1_pi_pin: spi1-cs1-pi-pin { > function = "spi1"; > }; > > + /omit-if-no-ref/ > uart0_pb_pins: uart0-pb-pins { > pins = "PB22", "PB23"; > function = "uart0"; > }; > > + /omit-if-no-ref/ > uart3_pg_pins: uart3-pg-pins { > pins = "PG6", "PG7"; > function = "uart3"; > }; > > + /omit-if-no-ref/ > uart3_rts_cts_pg_pins: uart3-rts-cts-pg-pins { > pins = "PG8", "PG9"; > function = "uart3"; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel