How to handle named resources with DT?

Paul Walmsley paul at pwsan.com
Sun Aug 28 06:00:16 EST 2011


On Fri, 26 Aug 2011, Arnd Bergmann wrote:

> I don't think anyone was talking about converting driver /to/ the
> _byname method

For drivers that use multiple resources of the same type, converting those 
to use platform_get_resource_byname() does indeed seem appropriate.

By the way, the same IP block design can exist on platforms with different 
device data formats.  For example, the PowerVR SGX core[1] is present on 
many ARM SoCs and on Intel Poulsbo designs.  The Poulsbo systems are 
presumably using ACPI/SFI *SDT tables.  So it seems unwise to couple 
drivers to any specific external device data format.


- Paul

1. One example: http://en.wikipedia.org/wiki/PowerVR#Series5_.28SGX.29


More information about the devicetree-discuss mailing list