> -----Original Message-----
> From: devicetree-discuss-
> [email protected]
[mailto:devicetree-
> [email protected]] On Behalf
Of
> David VomLehn
> Sent: Friday, October 22, 2010 4:45 PM
> To: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]
> Subject: Wrapping proprietary nodes
> 
> I expect my device tree will have some proprietary, one-off devices in
it.
> Is it better to wrap these all up in one node:
> 
>       cisco {
>               device1 {
>                       ...
>               };
>               device2 {
>                       ...
>               };
>       };
> 
> Or should they be specified one node at a time:
> 
>       cisco-device1 {
>               ...
>       };
>       cisco-device2 {
>               ...
>       };
> 
> My inclination is for the former, but I'd prefer to follow existing
usage,
> if any.

(David, long time no see...:)

The device tree should represent your hardware as it is.  If these
devices sit on some bus, then you should probably represent the
bus, with the devices as subnodes.   Don't create logical container
nodes unless they are warranted for some good reason.

Stuart

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to