Skip to contentSkip to conversation

Documentation for device tree API

DISCUSSION John Linn 2 participants 2 messages Mar 9, 2009 1 message not in the archive

lore
Share & tools
lore

John Linn

author
#0 lore raw

Hi Grant and David,

We have a number of customers trying to use device tree to write their own device drivers and they are asking a lot of API type questions.

We haven't found any API type explanation/examples for using device tree other than to look at existing drivers which can be challenging.

Is there some documentation that we're just missing that does exist?

We realize there is the Documentation/powerpc/booting-without-of.txt file that describes the device tree, but it doesn't explain the API.

Thanks,
John

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

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

A message that is not in the archive (sent off-list or not yet received): 20090309151053.AFECD8B8055-DcIl3Neqgic+7bgej9ysKKQXxVRGGlT3@public.gmane.org

#2 lore raw

Hey John.

Quoted 10 lines · John Linn

We have a number of customers trying to use device tree to write their own device drivers and they are asking a lot of API type questions.

We haven't found any API type explanation/examples for using device tree other than to look at existing drivers which can be challenging.

Is there some documentation that we're just missing that does exist?

We realize there is the Documentation/powerpc/booting-without-of.txt file that describes the device tree, but it doesn't explain the API.

No, I don't think there is any documentation other than the kerneldoc on the API functions themselves, but that doesn't give much of a higher level view.

If I get some time, I'll try to jot down some notes. I need to write a presentation on the topic anyway, so maybe I can kill 2 birds with that stone.

g.

Quoted 9 lines

Thanks,
John

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.