Commit 9de9454f authored by Benoit Cousson's avatar Benoit Cousson Committed by Michael Bohan
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.

Change-Id: I1a33be9ae1a5ec757a352ba3bfa6d08f411d02d2
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>
Signed-off-by: default avatarMichael Bohan <mbohan@codeaurora.org>
parent d89cc02f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment