Thread (1 message) 1 message, 1 author, 2017-12-14
  • (off-list ancestor, not in this archive)
  • Re: DT dtc warnings · Krzysztof Kozlowski <hidden> · 2017-12-14

DT dtc warnings

From: krzk@kernel.org (Krzysztof Kozlowski)
Date: 2017-12-14 21:19:35
Also in: linux-devicetree

On Thu, Dec 14, 2017 at 10:13 PM, Fabio Estevam [off-list ref] wrote:
On Thu, Dec 14, 2017 at 7:01 PM, Krzysztof Kozlowski [off-list ref] wrote:
quoted
Can anyone help why this W=1 triggers warning like these:
arch/arm/boot/dts/exynos3250-artik5-eval.dtb: Warning
(simple_bus_reg): Node /soc/syscon-poweroff missing or empty
reg/ranges property
arch/arm/boot/dts/exynos3250-artik5-eval.dtb: Warning
(simple_bus_reg): Node /soc/syscon-reboot missing or empty reg/ranges
property

For a node without unit address?
http://elixir.free-electrons.com/linux/v4.15-rc3/source/arch/arm/boot/dts/exynos-syscon-restart.dtsi

AFAIR, if node does not have unit-address then it should not have
reg/ranges property. Or maybe it is coming from parent's simple-bus?
syscon-poweroff and syscon-reboot should be outside the soc bus.
Thanks for reply!

Isn't this property of a SoC? The registers used by
syscon-poweroff/reboot are part of SoC power management unit. It does
not refer to any externals. Why then it should be put outside of soc?

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