* stmmac dtc warnings 4.12-rc1
@ 2017-05-16 7:46 Niklas Cassel
0 siblings, 0 replies; only message in thread
From: Niklas Cassel @ 2017-05-16 7:46 UTC (permalink / raw)
To: Giuseppe Cavallaro, Alexandre Torgue, Joao Pinto, Thierry Reding,
Mark Rutland, Rob Herring, David Miller
Cc: devicetree, netdev
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-16 7:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 7:46 stmmac dtc warnings 4.12-rc1 Niklas Cassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox