What was ugly was the original board files with duplicate code in the kernel 
source for each platform. Anyway, why is this ugly? 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. 

Regards,
John




> On Jun 20, 2016, at 5:42 AM, Wally Bkg <[email protected]> wrote:
> 
> Why all these changes to /sys/devices tree?  
> Its ugly and will remain ugly no matter what they do with the names, but 
> these changes break existing code and documentation to what benefit?
> 
> -- 
> 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/af94584f-72fd-4a0c-9221-d3f59b79e91a%40googlegroups.com.
> For more options, visit 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/857DCC55-C464-4245-8329-E4079993E427%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to