dt-bindings: arm: coresight: Add 'power-domains' property
authorRob Herring <robh@kernel.org>
Thu, 21 Jul 2022 21:27:14 +0000 (15:27 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 25 Aug 2022 16:29:38 +0000 (10:29 -0600)
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 <robh@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20220721212718.1980905-1-robh@kernel.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
12 files changed:
Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml

index d783d9276124862773820cab304de0aa845f363e..2bae06eed693a03d8a58645f63f08e1b28b62da7 100644 (file)
@@ -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
index 72ffe4d1e94884a2531a9bd2ac484dde63061ee6..0c5b875cb654bc286edd75981d46946e7b6db421 100644 (file)
@@ -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:
index 1eeedc22857c0c785ca1d7d9b9d34ee0217b00d7..44a1041cb0fc958d2eb86219c339bcc76953cf72 100644 (file)
@@ -54,6 +54,9 @@ properties:
       - const: apb_pclk
       - const: atclk
 
+  power-domains:
+    maxItems: 1
+
   in-ports:
     $ref: /schemas/graph.yaml#/properties/ports
 
index a26ed9214e0083467e8b793845c112e9481f7e56..03792e9bd97a03f9ba14f6882aea040af2bf3afe 100644 (file)
@@ -54,6 +54,9 @@ properties:
       - const: apb_pclk
       - const: atclk
 
+  power-domains:
+    maxItems: 1
+
   qcom,replicator-loses-context:
     type: boolean
     description:
index fd06ede26cebaf9508fec7e5007978c31f5a163d..90679788e0bf37e2458d0c18aff65405019ecd51 100644 (file)
@@ -54,6 +54,9 @@ properties:
       - const: apb_pclk
       - const: atclk
 
+  power-domains:
+    maxItems: 1
+
   in-ports:
     $ref: /schemas/graph.yaml#/properties/ports
     additionalProperties: false
index e0377ce48537d49525db2162066469bfc25164c2..01200f67504a53c8c501dff7edfc0dd9a3a24b7d 100644 (file)
@@ -73,6 +73,9 @@ properties:
       - const: apb_pclk
       - const: atclk
 
+  power-domains:
+    maxItems: 1
+
   arm,coresight-loses-context-with-cpu:
     type: boolean
     description:
index 374083956b20d81cb07d87af275773cdaaba8049..cc8c3baa79b457280b3f7907f888dfee03ec8192 100644 (file)
@@ -27,6 +27,9 @@ properties:
   compatible:
     const: arm,coresight-static-funnel
 
+  power-domains:
+    maxItems: 1
+
   in-ports:
     $ref: /schemas/graph.yaml#/properties/ports
 
index a34d8583830cb2b70d4ed0dd4b27eddd57ae0128..1892a091ac358a7b5432e6c9cfc17f835d09ca12 100644 (file)
@@ -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
index 905008faa012fd3174c63b675ff1555ef41280e6..378380c3f5aab50eff498e3b5c5e95a55bf41140 100644 (file)
@@ -61,6 +61,9 @@ properties:
       - const: apb_pclk
       - const: atclk
 
+  power-domains:
+    maxItems: 1
+
   out-ports:
     $ref: /schemas/graph.yaml#/properties/ports
     additionalProperties: false
index 3463b6e53aef3bb748b3abbef7be9de5c76b2bd0..e0b88a71356a1b9818479aba5fd56cc93d2330c3 100644 (file)
@@ -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
index e80d48200c3788795ab2049b31dc7578862f912a..61a0cdc27745fc0f5c718da1fee434c9c5c6d6df 100644 (file)
@@ -54,6 +54,9 @@ properties:
       - const: apb_pclk
       - const: atclk
 
+  power-domains:
+    maxItems: 1
+
   in-ports:
     $ref: /schemas/graph.yaml#/properties/ports
     additionalProperties: false
index 5f07fb166c56b289a982c6a1bd158bb4367adb18..108460627d9ac660fe205c6ca0475b6e317c03d0 100644 (file)
@@ -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.