From: Ivan Uvarov <i.uvarov@cognitivepilot.com>
To: Andre Przywara <andre.przywara@arm.com>
Cc: devicetree@vger.kernel.org, Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Maxime Ripard <mripard@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org,
Icenowy Zheng <icenowy@aosc.io>
Subject: Re: [PATCH v2 1/4] ARM: dts: sun8i: r40: add /omit-if-no-ref/ to pinmux nodes for UARTs 0&3
Date: Tue, 23 Mar 2021 12:59:38 +0300 [thread overview]
Message-ID: <20210323125938.552d92a6@NervousEnergy> (raw)
In-Reply-To: <20210322161804.0395de61@slackpad.fritz.box>
On Mon, 22 Mar 2021 16:18:04 +0000
Andre Przywara <andre.przywara@arm.com> wrote:
> On Mon, 22 Mar 2021 13:55:35 +0300
> Ivan Uvarov <i.uvarov@cognitivepilot.com> 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
>
This is a valid complaint, and the patch indeed is not strictly
necessary. At the same time, the keyword certainly doesn't hurt, and
it would be a good base for future R40 boards.
As to what boards I'm referring to, there's at least the carrier board
for the FETA40i which our company is privately developing, the support
for which we probably won't upstream as it's highly unlikely it'll ever
get into the hands of anyone who would appreciate such support.
I must also mention that I only added this patch to the series due to
explicit encouragement from Maxime in his last response to v1 of the patch:
On Fri, 19 Mar 2021 14:24:48 +0100
Maxime Ripard <maxime@cerno.tech> wrote:
> On Tue, Mar 16, 2021 at 06:48:58PM +0300, Ivan Uvarov wrote:
> > Also, would it be a good idea to add /omit-if-no-ref/ to the uart3
> > pins as well while I'm here?
>
> To all the nodes honestly. If you want to make a preliminary patch doing
> this, go ahead :)
Since there's two differing viewpoints on the subject, this definitely
deserves more discussion.
--
Regards,
Ivan Uvarov
next prev parent reply other threads:[~2021-03-23 10:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 10:55 [PATCH v2 0/4] add devicetree for Forlinx FETA40i-C & OKA40i-C Ivan Uvarov
2021-03-22 10:55 ` [PATCH v2 1/4] ARM: dts: sun8i: r40: add /omit-if-no-ref/ to pinmux nodes for UARTs 0&3 Ivan Uvarov
2021-03-22 16:18 ` Andre Przywara
2021-03-23 9:59 ` Ivan Uvarov [this message]
2021-03-25 14:12 ` Maxime Ripard
2021-03-22 10:55 ` [PATCH v2 2/4] ARM: dts: sun8i: r40: add pinmux settings for MMC3 and UARTs 2,4,5&7 Ivan Uvarov
2021-03-22 16:24 ` Andre Przywara
2021-03-22 10:55 ` [PATCH v2 3/4] dt-bindings: arm: add compatible strings for Forlinx OKA40i-C Ivan Uvarov
2021-03-22 16:27 ` Andre Przywara
2021-03-22 10:55 ` [PATCH v2 4/4] ARM: dts: sun8i: r40: add devicetree for Forlinx FETA40i-C & OKA40i-C Ivan Uvarov
2021-03-22 16:47 ` Andre Przywara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210323125938.552d92a6@NervousEnergy \
--to=i.uvarov@cognitivepilot.com \
--cc=andre.przywara@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=icenowy@aosc.io \
--cc=jernej.skrabec@siol.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mripard@kernel.org \
--cc=robh+dt@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).