stmmac dtc warnings 4.12-rc1

From: Niklas Cassel <hidden>
Date: 2017-05-16 07:46:30
Also in: linux-devicetree

Hello


With the dtc in linux 4.12-rc1 we get the following
warning when compiling our stmmac node:

Warning (simple_bus_reg): Node /amba/stmmac-axi-config missing or empty reg/ranges property

Note that we do follow the example binding for stmmac:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/stmmac.txt

The binding does not specify a reg/ranges property for the stmmac-axi-config node.
(Neither does the mtl_rx_setup/mtl_tx_setup nodes.)

We are building with a local patch for dtc that fails on warnings (like -Werror).
However, I figure that there shouldn't be any warnings when compiling a dtc,
so what's the best solution here?
Add a reg = <0> property to the stmmac-axi-config/mtl_rx_setup/mtl_tx_setup nodes?


Regards,
Niklas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help