How to handle named resources with DT?

Paul Walmsley paul at pwsan.com
Wed Aug 10 16:15:17 EST 2011


On Wed, 10 Aug 2011, David Gibson wrote:

> The difficulty with adding th enames to the DT itself is that it
> exposes the essentially Linux-specific names in what's supposed to be
> an OS neutral data structure.

The names are supposed to pertain to the hardware IP block, not the OS.  
See for example [1] and [2].  

If there's something OS-specific about the names, then the data isn't 
right.


- Paul

1. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm/mach-omap2/omap_hwmod_44xx_data.c;h=6201422c0606b5103c01e563f67060134658774d;hb=322a8b034003c0d46d39af85bf24fee27b902f48#l2359

2. Table 23-13 "HS I²C DMA Requests", OMAP4430 TRM version V 
   (SWPU231V), available from 
   http://focus.ti.com/pdfs/wtbu/OMAP4430_ES2.x_PUBLIC_TRM_vV.zip 


More information about the devicetree-discuss mailing list