Skip to content

Commit 2a0bc21

Browse files
Tao ZhangSuzuki K Poulose
authored andcommitted
dt-bindings: arm: qcom,coresight-static-replicator: Add property for source filtering
The is some "magic" hard coded filtering in the replicators, which only passes through trace from a particular "source". Add a new property "filter-source" to label a phandle to the coresight trace source device matching the hard coded filtering for the port. Signed-off-by: Tao Zhang <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d427625 commit 2a0bc21

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,22 @@ properties:
4545
patternProperties:
4646
'^port@[01]$':
4747
description: Output connections to CoreSight Trace bus
48-
$ref: /schemas/graph.yaml#/properties/port
48+
$ref: /schemas/graph.yaml#/$defs/port-base
49+
unevaluatedProperties: false
50+
51+
properties:
52+
endpoint:
53+
$ref: /schemas/graph.yaml#/$defs/endpoint-base
54+
unevaluatedProperties: false
55+
56+
properties:
57+
filter-source:
58+
$ref: /schemas/types.yaml#/definitions/phandle
59+
description:
60+
phandle to the coresight trace source device matching the
61+
hard coded filtering for this port
62+
63+
remote-endpoint: true
4964

5065
required:
5166
- compatible
@@ -72,13 +87,15 @@ examples:
7287
reg = <0>;
7388
replicator_out_port0: endpoint {
7489
remote-endpoint = <&etb_in_port>;
90+
filter-source = <&tpdm_video>;
7591
};
7692
};
7793
7894
port@1 {
7995
reg = <1>;
8096
replicator_out_port1: endpoint {
8197
remote-endpoint = <&tpiu_in_port>;
98+
filter-source = <&tpdm_mdss>;
8299
};
83100
};
84101
};

0 commit comments

Comments
 (0)