Thread (1 message) 1 message, 1 author, 2012-07-03

Re: [PATCH] of: support an enumerated-bus compatible value

From: Segher Boessenkool <hidden>
Date: 2012-07-03 15:43:05

quoted
There is still no reason for the fake bus node to have a "compatible"
property though.  What could it possibly mean?  "This bus does not
exist at all but you access it in bla bla bla way"?  That just  
doesn't
make sense.  It doesn't exist, you do not access it, it has no
programming model, it has no "compatible" property.
Well, as everyone keeps saying this seems to be a limitation of the
current device tree rather than something that's actually sensible in
and of itself.
But that is my point: it is *not* a limitation of the device tree,
the device tree can describe the hardware just fine without doing
some weird "compatible" property.  The limitation is in the current
Linux kernel code; _it_ should be fixed, don't add decorations to
the device tree to work around shortcomings in a single OS.  The
device tree describes the structure of the hardware, not the structure
of the device model in the OS.


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