How to handle named resources with DT?

Cousson, Benoit b-cousson at ti.com
Tue Aug 9 19:23:20 EST 2011


Hi Grant,

Trying to bind hwmod informations with DT, I'm facing a little limitation.
A bunch of drivers are using the platform_get_resource_byname, so the 
name for the resource is needed.

The name is used so far for IORESOURCE_MEM, IORESOURCE_IRQ and 
IORESOURCE_DMA types of resources.

Do you have any plan to add that, or do you have any clean way to avoid 
that without having to use the resource index?

Thanks,
Benoit


More information about the devicetree-discuss mailing list