Because Devicetree is new and there is an effort to achieve consistency between 
all architectures. Remember, devicetree started on the PowerPC platform and it 
was only when Linus complained about the code duplication and conflicts between 
ARM platforms that Devicetree was adopted by the ARM community. There are still 
architectures who still have board files so expect more churn as these 
architectures adopt devicetree. In addition, as companies like TI mainstream 
their patches, they are also making changes to the devicetree, so it will be 
some time before this settles down. 

Regards,
John




> On Jun 20, 2016, at 10:10 AM, TJF <[email protected]> wrote:
> 
> 
> Am Montag, 20. Juni 2016 18:09:36 UTC+2 schrieb john3909:
> It is simply a device address and a label. The driver needs this information, 
> so you can either hard code it (not a good idea because it leads to duplicate 
> code) or you can define it in the device tree. Same thing for gpio numbers, 
> interrupts, dma channels, etc. Take the time to understand the format and it 
> won’t seem so confusing.
> 
> If it is that easy, why do kernel developers have the same problems like 
> Wally Bkg and myself, and problems of this kind are everywhere?
> 
> Guys like Derek Molloy spend a lot of effort in writing good tutorials. And 
> most documentations are outdated with the next small kernel update?
> 
> Names in /sys should never change! OK, sometimes it needs a clean-up. But 
> that should only happen when the major kernel version number changes. And a 
> clear documentation is obligatory.
> 
> BR
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/65f23bc0-684b-4b79-8f0d-987a295526d6%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/65f23bc0-684b-4b79-8f0d-987a295526d6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/AD6D7248-4E41-4B85-AFC7-993F79AB1E11%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to