Thread (11 messages) flat view 11 messages, 3 authors, 2021-03-25

Re: [PATCH v2 1/4] ARM: dts: sun8i: r40: add /omit-if-no-ref/ to pinmux nodes for UARTs 0&3

From: Maxime Ripard <hidden>
Date: 2021-03-25 14:12:55
Also in: linux-devicetree

On Mon, Mar 22, 2021 at 04:18:04PM +0000, Andre Przywara wrote:
On Mon, 22 Mar 2021 13:55:35 +0300
Ivan Uvarov [off-list ref] wrote:

Hi,
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help