of: Add support for named irq and reg
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] of: Add support for named irq and reg
Hi Grant and Rob,
Gentle ping: Do you have some comment on that series?
Thanks,
Benoit
Quoted 46 lines · Benoit Cousson
Hi Grant& Rob,
Following the previous patch submission [1], here is an updated series that adds the support for both reg and irq names.
A small improvement is done as well on the property with multiple strings helper function.Please note that I've just realized that Russell's concern with the
/proc/iomemreadability might not even be valid in the DT case. I might be wrong, but it looks like devices created byof_device_allocdoes not seems to call theinsert_resource. It means that the/proc/iomemis mostly empty when the devices are created from device tree blob. I'm not sure it was done on purpose, but even if this is not the case, the fact is that this/proc/iomementry does not seems to be used extensively.
That does not mean it cannot be improved, but it should change the urgency to fix that with regards to that series.This series is based on 3.2-rc4 and is available here:
git://gitorious.org/omap-pm/linux.gitfor_3.3/resource-namesComments are welcome.
Auto comment: I'm not super happy with these new properties name because it is not really consistent. If you have any better idea, do not hesitate.
Thanks,
Benoit[1] http://www.mail-archive.com/linux-omap at vger.kernel.org/msg57881.html
Benoit Cousson (3):
of/base: Take NULL string into account for property with multiple strings of/address: Add reg-names property to name an iomem resource of/irq: Add interrupts-names property to name an irq resource.../devicetree/bindings/interrupts-names.txt | 50 ++++++++++++++++++++ Documentation/devicetree/bindings/reg-names.txt | 48 +++++++++++++++++++ drivers/of/address.c | 16 ++++-- drivers/of/base.c | 8 +-- drivers/of/irq.c | 11 ++++- 5 files changed, 122 insertions(+), 11 deletions(-)create mode 100644
Documentation/devicetree/bindings/interrupts-names.txtcreate mode 100644Documentation/devicetree/bindings/reg-names.txt