Skip to content

Commit 8e12257

Browse files
Saravana Kannangregkh
authored andcommitted
of: property: Add device link support for iommus, mboxes and io-channels
Add support for creating device links out of more DT properties. Signed-off-by: Saravana Kannan <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a436ef4 commit 8e12257

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/of/property.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,11 +1185,17 @@ struct supplier_bindings {
11851185

11861186
DEFINE_SIMPLE_PROP(clocks, "clocks", "#clock-cells")
11871187
DEFINE_SIMPLE_PROP(interconnects, "interconnects", "#interconnect-cells")
1188+
DEFINE_SIMPLE_PROP(iommus, "iommus", "#iommu-cells")
1189+
DEFINE_SIMPLE_PROP(mboxes, "mboxes", "#mbox-cells")
1190+
DEFINE_SIMPLE_PROP(io_channels, "io-channel", "#io-channel-cells")
11881191
DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
11891192

11901193
static const struct supplier_bindings of_supplier_bindings[] = {
11911194
{ .parse_prop = parse_clocks, },
11921195
{ .parse_prop = parse_interconnects, },
1196+
{ .parse_prop = parse_iommus, },
1197+
{ .parse_prop = parse_mboxes, },
1198+
{ .parse_prop = parse_io_channels, },
11931199
{ .parse_prop = parse_regulators, },
11941200
{}
11951201
};

0 commit comments

Comments
 (0)