must #address-cells and #size-cells be explicitly defined or not?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



  section 2.3.5 of the spec seems contradictory:

"The #address-cells and #size-cells properties are not inherited from
ancestors in the devicetree. They shall be explicitly defined.

"A DTSpec-compliant boot program shall supply #address-cells and
#size-cells on all nodes that have children.

"If missing, a client program should assume a default value of 2 for
#address-cells, and a value of 1 for #size-cells."

  those first two sentences clearly imply that those properties *must*
be explicitly defined, while the immediately following sentence allows
a client program to fill them in if they're missing. that seems
confusing.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux