Skip to content

Commit 9a34e7a

Browse files
author
Georgi Djakov
committed
dt-bindings: interconnect: Document the support of optional path tag
Let's document that we now support specifying path tag information in the arg cells of the 'interconnects' DT property. This information would be populated when the xlate_extended() callback is used. Specifying the tag in DT will allow the interconnect framework to do the aggregation based on the tag automatically. The users can still use the icc_set_tag() API if/when needed. Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200903133134.17201-3-georgi.djakov@linaro.org Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
1 parent 1521e22 commit 9a34e7a

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

Documentation/devicetree/bindings/interconnect/interconnect.txt

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ directly.
1919
Required properties:
2020
- compatible : contains the interconnect provider compatible string
2121
- #interconnect-cells : number of cells in a interconnect specifier needed to
22-
encode the interconnect node id
22+
encode the interconnect node id and optionally add a
23+
path tag
2324

2425
Example:
2526

@@ -44,6 +45,10 @@ components it has to interact with.
4445
Required properties:
4546
interconnects : Pairs of phandles and interconnect provider specifier to denote
4647
the edge source and destination ports of the interconnect path.
48+
An optional path tag value could specified as additional argument
49+
to both endpoints and in such cases, this information will be passed
50+
to the interconnect framework to do aggregation based on the attached
51+
tag.
4752

4853
Optional properties:
4954
interconnect-names : List of interconnect path name strings sorted in the same
@@ -62,3 +67,20 @@ Example:
6267
interconnects = <&pnoc MASTER_SDCC_1 &bimc SLAVE_EBI_CH0>;
6368
interconnect-names = "sdhc-mem";
6469
};
70+
71+
Example with path tags:
72+
73+
gnoc: interconnect@17900000 {
74+
...
75+
interconnect-cells = <2>;
76+
};
77+
78+
mnoc: interconnect@1380000 {
79+
...
80+
interconnect-cells = <2>;
81+
};
82+
83+
cpu@0 {
84+
...
85+
interconnects = <&gnoc MASTER_APPSS_PROC 3 &mnoc SLAVE_EBI1 3>;
86+
}

0 commit comments

Comments
 (0)