Skip to content
Commit 35f3da32 authored by Benoit Cousson's avatar Benoit Cousson Committed by Grant Likely
Browse files

of/address: Add reg-names property to name an iomem resource



Add a reg-names property to allow for reg regions to be reference by name
instead of by index.  Some devices have multiple register regions which
are more naturally referenced by name.

If the name is available, use it to name the resource when creating a devices.
Otherwise keep the device name.

Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
[Generalized documentation to be for any -names property]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 93797d87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment