On Tue, 2006-06-20 at 20:23 +1000, Paul Collins wrote: > > Btw, it's in my device-tree as > > uni-n@f8000000/i2c@f8001000/i2c-bus@0/lmu-micro@84 with a compatible > > 'lmu-controller' property. > > Does this mean that of_find_node_by_name("lmu-controller", 0) will > return the correct node? I don't know much about device tree stuff. No, you'll probably need to do of_find_compatible_node(NULL, NULL, "lmu-controller") or something like that, if your compatible property includes 'lmu-controller' too. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part