[PATCH v2 1/4] ARM: dts: sun8i: r40: add /omit-if-no-ref/ to pinmux nodes for UARTs 0&3
Maxime Ripard
maxime at cerno.tech
Thu Mar 25 14:12:11 GMT 2021
On Mon, Mar 22, 2021 at 04:18:04PM +0000, Andre Przywara wrote:
> On Mon, 22 Mar 2021 13:55:35 +0300
> Ivan Uvarov <i.uvarov at 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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210325/a4f30f7e/attachment.sig>
More information about the linux-arm-kernel
mailing list