Skip to content

of_devlink: Minor fixes and new properties

Saravana Kannan linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of: property: Minor style clean up of of_link_to_phandle()drivers/of/property.c+8 -21 reply
2/3of: property: Make it easy to add device links from DT propertiesdrivers/of/property.c+47 -151 reply
3/3of: property: Add device link support for iommus, mboxes and io-channelsdrivers/of/property.c+6 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] of_devlink: Minor fixes and new properties

Sending again since the cover letter missed everyone/mailing lists.

First two patches are just code clean up and logging with no functional difference. The 3rd patch adds support for the following DT properties:
iommus, mboxes and io-channels.

These patches are on top of driver-core-next since that's where the rest of the of_devlink patches are.

Greg and Rob,
On a side note, I was wondering if I should rename the of_devlink kernel command line to fw_devlink and move it out of drivers/of/property.c and into drivers/base/core.c. This feature isn't really limited to devicetree, so I don't see a need to have devicetree specific kernel command line option. Please let me know if that sounds okay to you.

Thanks,
Saravana

Saravana Kannan (3):
of: property: Minor style clean up of of_link_to_phandle()
of: property: Make it easy to add device links from DT properties
of: property: Add device link support for iommus, mboxes and
io-channels

 drivers/of/property.c | 78 +++++++++++++++++++++++++++++++++----------
 1 file changed, 61 insertions(+), 17 deletions(-)
Signature · 1 line
2.24.0.rc1.363.gb1bccd3e3d-goog