dt-bindings: arm: coresight: Add 'power-domains' property
Subsystems (3)
Rob Herring
maintainerPATCH 1/2 dt-bindings: arm: coresight: Add 'power-domains' property
Coresight components may be in a power domain which is the case for the Arm Juno board. Allow a single 'power-domains' entry for Coresight components.
--- Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml | 3 +++ .../devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml | 3 +++ .../bindings/arm/arm,coresight-dynamic-replicator.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml | 3 +++ .../devicetree/bindings/arm/arm,coresight-static-funnel.yaml | 3 +++ .../bindings/arm/arm,coresight-static-replicator.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml | 3 +++ .../devicetree/bindings/arm/arm,embedded-trace-extension.yaml | 3 +++ 12 files changed, 36 insertions(+)
Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml +3 -0
@@ -61,6 +61,9 @@ properties: maxItems: 1 description: Address translation error interrupt + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: false
Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml +3 -0
@@ -98,6 +98,9 @@ properties: base cti node if compatible string arm,coresight-cti-v8-arch is used, or may appear in a trig-conns child node when appropriate. + power-domains: + maxItems: 1 + arm,cti-ctm-id: $ref: /schemas/types.yaml#/definitions/uint32 description:
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml +3 -0
@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml +3 -0
@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + qcom,replicator-loses-context: type: boolean description:
Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml +3 -0
@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: false
Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml +3 -0
@@ -73,6 +73,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + arm,coresight-loses-context-with-cpu: type: boolean description:
Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml +3 -0
@@ -27,6 +27,9 @@ properties: compatible: const: arm,coresight-static-funnel + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports
Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml +3 -0
@@ -27,6 +27,9 @@ properties: compatible: const: arm,coresight-static-replicator + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: false
Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml +3 -0
@@ -61,6 +61,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + out-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: false
Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml +3 -0
@@ -55,6 +55,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + arm,buffer-size: $ref: /schemas/types.yaml#/definitions/uint32 deprecated: true
Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml +3 -0
@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: false
Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml +3 -0
@@ -33,6 +33,9 @@ properties: Handle to the cpu this ETE is bound to. $ref: /schemas/types.yaml#/definitions/phandle + power-domains: + maxItems: 1 + out-ports: description: | Output connections from the ETE to legacy CoreSight trace bus.
Signature · 1 line
2.34.1
Rob Herring
maintainerPATCH 2/2 dt-bindings: arm: coresight-tmc: Add 'iommu' property
The Coresight TMC component may be behind an IOMMU which is the case for the Arm Juno SoC and some Qualcomm SoCs. Add 'iommus' property to the binding.
--- Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml +3 -0
@@ -55,6 +55,9 @@ properties: - const: apb_pclk - const: atclk + iommus: + maxItems: 1 + power-domains: maxItems: 1
Signature · 1 line
2.34.1
Quoted 3 lines · Rob Herring
Coresight components may be in a power domain which is the case for the Arm Juno board. Allow a single 'power-domains' entry for Coresight components.
I assume the maxItems can be changed in case if some platforms have multiple power domains especially for some per CPU coresight ETR/debug components.
But for now, it looks good.
--
Regards,
Sudeep
Rob Herring
maintainerQuoted 3 lines · Rob Herring
Coresight components may be in a power domain which is the case for the Arm Juno board. Allow a single 'power-domains' entry for Coresight components.
Ping.
Quoted 188 lines
Signed-off-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml | 3 +++ .../devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml | 3 +++ .../bindings/arm/arm,coresight-dynamic-replicator.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml | 3 +++ .../devicetree/bindings/arm/arm,coresight-static-funnel.yaml | 3 +++ .../bindings/arm/arm,coresight-static-replicator.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml | 3 +++ .../devicetree/bindings/arm/arm,embedded-trace-extension.yaml | 3 +++ 12 files changed, 36 insertions(+)Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml +3
-0@@ -61,6 +61,9 @@ properties: maxItems: 1 description: Address translation error interrupt + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-cti.yaml +3
-0@@ -98,6 +98,9 @@ properties: base cti node if compatible string arm,coresight-cti-v8-arch is used, or may appear in a trig-conns child node when appropriate. + power-domains: + maxItems: 1 + arm,cti-ctm-id: $ref: /schemas/types.yaml#/definitions/uint32 description:Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/portsDocumentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + qcom,replicator-loses-context: type: boolean description:Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-etm.yaml +3
-0@@ -73,6 +73,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + arm,coresight-loses-context-with-cpu: type: boolean description:Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml +3
-0@@ -27,6 +27,9 @@ properties: compatible: const: arm,coresight-static-funnel + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/portsDocumentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml +3
-0@@ -27,6 +27,9 @@ properties: compatible: const: arm,coresight-static-replicator + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-stm.yaml +3
-0@@ -61,6 +61,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + out-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-tmc.yaml +3
-0@@ -55,6 +55,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + arm,buffer-size: $ref: /schemas/types.yaml#/definitions/uint32 deprecated: trueDocumentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml +3
-1@@ -33,6 +33,9 @@ properties: Handle to the cpu this ETE is bound to. $ref: /schemas/types.yaml#/definitions/phandle + power-domains: + maxItems: 1 + out-ports: description: | Output connections from the ETE to legacy CoreSight trace bus. --2.34.1
Quoted 6 lines · Rob Herring
Quoted 3 lines · Rob Herring
Coresight components may be in a power domain which is the case for the Arm Juno board. Allow a single 'power-domains' entry for Coresight components.
Ping.
Somehow this fell through the cracks. I've applied both patches.
Thanks,
Mathieu
Quoted 189 lines
Quoted 189 lines
Signed-off-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml | 3 +++ .../devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml | 3 +++ .../bindings/arm/arm,coresight-dynamic-replicator.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml | 3 +++ .../devicetree/bindings/arm/arm,coresight-static-funnel.yaml | 3 +++ .../bindings/arm/arm,coresight-static-replicator.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml | 3 +++ Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml | 3 +++ .../devicetree/bindings/arm/arm,embedded-trace-extension.yaml | 3 +++ 12 files changed, 36 insertions(+)Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml +3
-0@@ -61,6 +61,9 @@ properties: maxItems: 1 description: Address translation error interrupt + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-cti.yaml +3
-0@@ -98,6 +98,9 @@ properties: base cti node if compatible string arm,coresight-cti-v8-arch is used, or may appear in a trig-conns child node when appropriate. + power-domains: + maxItems: 1 + arm,cti-ctm-id: $ref: /schemas/types.yaml#/definitions/uint32 description:Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/portsDocumentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + qcom,replicator-loses-context: type: boolean description:Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-etm.yaml +3
-0@@ -73,6 +73,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + arm,coresight-loses-context-with-cpu: type: boolean description:Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml +3
-0@@ -27,6 +27,9 @@ properties: compatible: const: arm,coresight-static-funnel + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/portsDocumentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml +3
-0@@ -27,6 +27,9 @@ properties: compatible: const: arm,coresight-static-replicator + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-stm.yaml +3
-0@@ -61,6 +61,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + out-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,coresight-tmc.yaml +3
-0@@ -55,6 +55,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + arm,buffer-size: $ref: /schemas/types.yaml#/definitions/uint32 deprecated: trueDocumentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml +3
-0@@ -54,6 +54,9 @@ properties: - const: apb_pclk - const: atclk + power-domains: + maxItems: 1 + in-ports: $ref: /schemas/graph.yaml#/properties/ports additionalProperties: falseDocumentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml +3
-1@@ -33,6 +33,9 @@ properties: Handle to the cpu this ETE is bound to. $ref: /schemas/types.yaml#/definitions/phandle + power-domains: + maxItems: 1 + out-ports: description: | Output connections from the ETE to legacy CoreSight trace bus. --2.34.1