Skip to content

Commit

Permalink
dt-bindings: arm: coresight: Add 'power-domains' property
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
  • Loading branch information
robherring authored and mathieupoirier committed Aug 25, 2022
1 parent b99ee26 commit 8559e62
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk

power-domains:
maxItems: 1

in-ports:
$ref: /schemas/graph.yaml#/properties/ports

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk

power-domains:
maxItems: 1

qcom,replicator-loses-context:
type: boolean
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk

power-domains:
maxItems: 1

in-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ properties:
- const: apb_pclk
- const: atclk

power-domains:
maxItems: 1

arm,coresight-loses-context-with-cpu:
type: boolean
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ properties:
compatible:
const: arm,coresight-static-funnel

power-domains:
maxItems: 1

in-ports:
$ref: /schemas/graph.yaml#/properties/ports

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ properties:
- const: apb_pclk
- const: atclk

power-domains:
maxItems: 1

out-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk

power-domains:
maxItems: 1

in-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8559e62

Please sign in to comment.