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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 02246C433C1 for ; Thu, 25 Mar 2021 14:12:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D372E61A28 for ; Thu, 25 Mar 2021 14:12:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230140AbhCYOMW (ORCPT ); Thu, 25 Mar 2021 10:12:22 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:51917 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231271AbhCYOMQ (ORCPT ); Thu, 25 Mar 2021 10:12:16 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 879D05C00DE; Thu, 25 Mar 2021 10:12:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 25 Mar 2021 10:12:15 -0400 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=ves1r/nQmgxtQKc3+3YCO54CxOB ALjxaiKSuGacq514=; b=K2g6mM4fs9OXl38Qo29CdS6HJtFVkwpY7TiLnZBJ/xF COlq8Apuv4rQ/9EzsdIEEvLAeZyeZYHYyCeeYS+Qn3li6gAnwJqPh9nfn3gaqn4R P8hNsfe05bJ0b8QsITa3UYrynFo9495P4HdSfhvmiYEyljEOY093U2y2UN1ozAmt A3CMSCmzk87dGW1A4cOtqHc2WjKagxWt+80PC99TgNrVVCiP3U/kSv3GUiGiNTyz 88xETyHETV9m9BwwRVRxXF50+gOGFPs3vnrRYS/8QMEKviREV66BcHwcMXNVsQ7f Pvgbtb9nT1umKZiXobFpIuDOfn5a+1O9YFbJAJxe2sg== 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=ves1r/ nQmgxtQKc3+3YCO54CxOBALjxaiKSuGacq514=; b=SJDp8Z3kjuLXv6EFgHx1qW n9MS731fFyFDGd02SFfj1zpndhziOlpaLJQo48flrEhrOfs4ytE96FKCv//dEZTF r0car0nk6Xi5jLaok7LUPkCCk6+MSiFlW1vl+k9n/FvHOFM02n5RJqA0MBGKWprQ JOqVFATMhyQE8pn/8FV8lqhq40ENK1RkH77KA0m+KrMdE/DtXflPW3yuZmZXgPL5 RbmXy0P4Xj2Jv0rJVbFUB0K9610dd2/P00iG+j6+DL+pdsgAfcxcXUqUNhNmIp49 dEYrB3fatGeCVh/xfVuYdhgKqA8kt3nM+tGokWEKwYK+tlHhfO2X9LkDC67s7DOw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehtddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh 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 C527324006A; Thu, 25 Mar 2021 10:12:13 -0400 (EDT) Date: Thu, 25 Mar 2021 15:12:11 +0100 From: Maxime Ripard To: Andre Przywara Cc: Ivan Uvarov , devicetree@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec , 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: <20210325141211.5bfemlmn5dkurlym@gilmour> References: <20210322105538.3475183-1-i.uvarov@cognitivepilot.com> <20210322105538.3475183-2-i.uvarov@cognitivepilot.com> <20210322161804.0395de61@slackpad.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="usds6ccterplbkj5" Content-Disposition: inline In-Reply-To: <20210322161804.0395de61@slackpad.fritz.box> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org --usds6ccterplbkj5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 22, 2021 at 04:18:04PM +0000, Andre Przywara wrote: > On Mon, 22 Mar 2021 13:55:35 +0300 > Ivan Uvarov wrote: >=20 > Hi, >=20 > > 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. >=20 > But what boards are those? It seems like all boards use uart3-pg and > the two existing boards use UART0. >=20 > 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. There's no real cost associated to it though, so it's just easier to flag all the nodes and let the compiler figure out if it should evict them or not. Maxime --usds6ccterplbkj5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYFyaOwAKCRDj7w1vZxhR xZAdAQDYI5KK8H77Wo1gjzVzWhBN5eEoabG/SZI/TcgP9deWVwEA8EZKEgcvMc3K F+uf36DcIFDXKKyqCmx7oN7JkL46Nww= =Lha4 -----END PGP SIGNATURE----- --usds6ccterplbkj5-- 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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 0CE08C433E2 for ; Thu, 25 Mar 2021 14:14:32 +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 8FF69619F8 for ; Thu, 25 Mar 2021 14:14:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FF69619F8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech 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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CtfbswK6ZyMgVyd9aJu2dsScGogiSYKZzaStNGXuECk=; b=Cv/EhFUZtEf0uS/aaRNz6+lAi M6yOymgF6TayH2TAsTW3/ip/8n/X5BfNfjCel5OigBmTy2wrFAh820Y/l6dq7R7nFvfTGeG3J/KL8 T0K2xE8yl27btWx2k/4CfIg4MTLFvYftkah11r6kXytOOjn2OzHWoXRgzAJtppmRrTRHKbhQURChf FENHQu0UH5gvIzOsLfR76viKKcoz1CKDUnInGoyVLnhVves6dmhVnAr5Rn067Bfm4GJaLgNcl6Qc9 mljf0dsbJVPwjA4W49Piu/F7z+aMNXBdKamfRky5mjhza71IDVo+Fx8e1K99pkQ24iuDRRJKA9stZ /XmmoeOMQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPQio-001aVG-Qe; Thu, 25 Mar 2021 14:12:26 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPQij-001aTe-SH for linux-arm-kernel@lists.infradead.org; Thu, 25 Mar 2021 14:12:24 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 879D05C00DE; Thu, 25 Mar 2021 10:12:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 25 Mar 2021 10:12:15 -0400 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=ves1r/nQmgxtQKc3+3YCO54CxOB ALjxaiKSuGacq514=; b=K2g6mM4fs9OXl38Qo29CdS6HJtFVkwpY7TiLnZBJ/xF COlq8Apuv4rQ/9EzsdIEEvLAeZyeZYHYyCeeYS+Qn3li6gAnwJqPh9nfn3gaqn4R P8hNsfe05bJ0b8QsITa3UYrynFo9495P4HdSfhvmiYEyljEOY093U2y2UN1ozAmt A3CMSCmzk87dGW1A4cOtqHc2WjKagxWt+80PC99TgNrVVCiP3U/kSv3GUiGiNTyz 88xETyHETV9m9BwwRVRxXF50+gOGFPs3vnrRYS/8QMEKviREV66BcHwcMXNVsQ7f Pvgbtb9nT1umKZiXobFpIuDOfn5a+1O9YFbJAJxe2sg== 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=ves1r/ nQmgxtQKc3+3YCO54CxOBALjxaiKSuGacq514=; b=SJDp8Z3kjuLXv6EFgHx1qW n9MS731fFyFDGd02SFfj1zpndhziOlpaLJQo48flrEhrOfs4ytE96FKCv//dEZTF r0car0nk6Xi5jLaok7LUPkCCk6+MSiFlW1vl+k9n/FvHOFM02n5RJqA0MBGKWprQ JOqVFATMhyQE8pn/8FV8lqhq40ENK1RkH77KA0m+KrMdE/DtXflPW3yuZmZXgPL5 RbmXy0P4Xj2Jv0rJVbFUB0K9610dd2/P00iG+j6+DL+pdsgAfcxcXUqUNhNmIp49 dEYrB3fatGeCVh/xfVuYdhgKqA8kt3nM+tGokWEKwYK+tlHhfO2X9LkDC67s7DOw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehtddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh 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 C527324006A; Thu, 25 Mar 2021 10:12:13 -0400 (EDT) Date: Thu, 25 Mar 2021 15:12:11 +0100 From: Maxime Ripard To: Andre Przywara Cc: Ivan Uvarov , devicetree@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec , 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: <20210325141211.5bfemlmn5dkurlym@gilmour> References: <20210322105538.3475183-1-i.uvarov@cognitivepilot.com> <20210322105538.3475183-2-i.uvarov@cognitivepilot.com> <20210322161804.0395de61@slackpad.fritz.box> MIME-Version: 1.0 In-Reply-To: <20210322161804.0395de61@slackpad.fritz.box> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210325_141222_298732_10F640A8 X-CRM114-Status: GOOD ( 19.99 ) 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: multipart/mixed; boundary="===============4730918870378980907==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4730918870378980907== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="usds6ccterplbkj5" Content-Disposition: inline --usds6ccterplbkj5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 22, 2021 at 04:18:04PM +0000, Andre Przywara wrote: > On Mon, 22 Mar 2021 13:55:35 +0300 > Ivan Uvarov wrote: >=20 > Hi, >=20 > > 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. >=20 > But what boards are those? It seems like all boards use uart3-pg and > the two existing boards use UART0. >=20 > 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. There's no real cost associated to it though, so it's just easier to flag all the nodes and let the compiler figure out if it should evict them or not. Maxime --usds6ccterplbkj5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYFyaOwAKCRDj7w1vZxhR xZAdAQDYI5KK8H77Wo1gjzVzWhBN5eEoabG/SZI/TcgP9deWVwEA8EZKEgcvMc3K F+uf36DcIFDXKKyqCmx7oN7JkL46Nww= =Lha4 -----END PGP SIGNATURE----- --usds6ccterplbkj5-- --===============4730918870378980907== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4730918870378980907==--