linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* db8500.dtsi: ab8500@5 reg property invalid length
@ 2012-05-18 20:46 Stephen Warren
  2012-05-19  8:13 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2012-05-18 20:46 UTC (permalink / raw)
  To: linux-arm-kernel

Lee,

In commit 3de3d74 "ARM: ux500: Configure the PRCMU Timer for db8500
based devices in DT", you changed DT node prcmu at 80157000's #size-cells
from 0 to 1, but didn't adjust the reg property for existing sub-node
ab8500 at 5. Also, the indentation of the new subnode
prcmu-timer-4 at 80157450 looks wrong.

This makes dtc fail to compile snowball.dts:

Warning (reg_format): "reg" property in
/soc-u9500/prcmu at 80157000/ab8500 at 5 has invalid length (4 bytes)
(#address-cells == 1, #size-cells == 1)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* db8500.dtsi: ab8500@5 reg property invalid length
  2012-05-18 20:46 db8500.dtsi: ab8500@5 reg property invalid length Stephen Warren
@ 2012-05-19  8:13 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2012-05-19  8:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Stephen,

Thanks for reporting this.

> In commit 3de3d74 "ARM: ux500: Configure the PRCMU Timer for db8500
> based devices in DT", you changed DT node prcmu at 80157000's #size-cells
> from 0 to 1, but didn't adjust the reg property for existing sub-node
> ab8500 at 5.
 >
 > Warning (reg_format): "reg" property in
 > /soc-u9500/prcmu at 80157000/ab8500 at 5 has invalid length (4 bytes)
 > (#address-cells == 1, #size-cells == 1)
>
> This makes dtc fail to compile snowball.dts:

Not quite. I didn't notice this warning before, but that's all it is. It 
doesn't prevent snowball.dts from being compiled or seem to affect the 
parsing of the DT as far as I can tell.

I will fix the warning though.

 > Also, the indentation of the new subnode
 > prcmu-timer-4 at 80157450 looks wrong.

Yes it is. There is a patch on the MLs at the moment which does some 
format correction and pandas to a new way of representing IRQs for this 
node.

Thanks again Stephen.

Kind regards.
Lee

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
M: +44 77 88 633 515
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-19  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18 20:46 db8500.dtsi: ab8500@5 reg property invalid length Stephen Warren
2012-05-19  8:13 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).