|
|
|
|
|
by mkipper
1777 days ago
|
|
Read the Documentation/devicetree directory in the kernel sources and look at how a few drivers implement their documented bindings. This isn't a snarky RTFM comment. The usage model file in the kernel documentation gives good motivation for what device trees are used for and their basic structure, and the APIs to pull data from them are straightforward enough that you can probably figure them out by looking at an example. |
|