* [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property
@ 2022-07-21 21:27 Rob Herring
2022-07-21 21:27 ` [PATCH 2/2] dt-bindings: arm: coresight-tmc: Add 'iommu' property Rob Herring
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Rob Herring @ 2022-07-21 21:27 UTC (permalink / raw)
To: Mathieu Poirier, Suzuki K Poulose, Mike Leach, Leo Yan,
Krzysztof Kozlowski, Maxime Coquelin, Alexandre Torgue
Cc: coresight, linux-arm-kernel, devicetree, linux-kernel, linux-stm32
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>
---
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(+)
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
index d783d9276124..2bae06eed693 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
index 72ffe4d1e948..0c5b875cb654 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
@@ -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:
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
index 1eeedc22857c..44a1041cb0fc 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
@@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk
+ power-domains:
+ maxItems: 1
+
in-ports:
$ref: /schemas/graph.yaml#/properties/ports
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
index a26ed9214e00..03792e9bd97a 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
@@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk
+ power-domains:
+ maxItems: 1
+
qcom,replicator-loses-context:
type: boolean
description:
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
index fd06ede26ceb..90679788e0bf 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
@@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk
+ power-domains:
+ maxItems: 1
+
in-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
index e0377ce48537..01200f67504a 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
@@ -73,6 +73,9 @@ properties:
- const: apb_pclk
- const: atclk
+ power-domains:
+ maxItems: 1
+
arm,coresight-loses-context-with-cpu:
type: boolean
description:
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
index b9da30ab9ccd..06a1d346982c 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
@@ -27,6 +27,9 @@ properties:
compatible:
const: arm,coresight-static-funnel
+ power-domains:
+ maxItems: 1
+
in-ports:
$ref: /schemas/graph.yaml#/properties/ports
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
index 66ee97370fb2..5178e7fdff0b 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
index 905008faa012..378380c3f5aa 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
@@ -61,6 +61,9 @@ properties:
- const: apb_pclk
- const: atclk
+ power-domains:
+ maxItems: 1
+
out-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
index 3463b6e53aef..e0b88a71356a 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
index e80d48200c37..61a0cdc27745 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
@@ -54,6 +54,9 @@ properties:
- const: apb_pclk
- const: atclk
+ power-domains:
+ maxItems: 1
+
in-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
diff --git a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
index 5f07fb166c56..108460627d9a 100644
--- a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
@@ -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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] dt-bindings: arm: coresight-tmc: Add 'iommu' property
2022-07-21 21:27 [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Rob Herring
@ 2022-07-21 21:27 ` Rob Herring
2022-07-22 8:35 ` [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Sudeep Holla
2022-08-24 19:04 ` Rob Herring
2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2022-07-21 21:27 UTC (permalink / raw)
To: Mathieu Poirier, Suzuki K Poulose, Mike Leach, Leo Yan,
Krzysztof Kozlowski, Maxime Coquelin, Alexandre Torgue
Cc: coresight, linux-arm-kernel, devicetree, linux-kernel, linux-stm32
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.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
index e0b88a71356a..cb8dceaca70e 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
@@ -55,6 +55,9 @@ properties:
- const: apb_pclk
- const: atclk
+ iommus:
+ maxItems: 1
+
power-domains:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property
2022-07-21 21:27 [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Rob Herring
2022-07-21 21:27 ` [PATCH 2/2] dt-bindings: arm: coresight-tmc: Add 'iommu' property Rob Herring
@ 2022-07-22 8:35 ` Sudeep Holla
2022-08-24 19:04 ` Rob Herring
2 siblings, 0 replies; 5+ messages in thread
From: Sudeep Holla @ 2022-07-22 8:35 UTC (permalink / raw)
To: Rob Herring
Cc: Mathieu Poirier, Suzuki K Poulose, Sudeep Holla, Mike Leach,
Leo Yan, Krzysztof Kozlowski, Maxime Coquelin, Alexandre Torgue,
coresight, linux-arm-kernel, devicetree, linux-kernel,
linux-stm32
On Thu, Jul 21, 2022 at 03:27:14PM -0600, Rob Herring wrote:
> 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.
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property
2022-07-21 21:27 [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Rob Herring
2022-07-21 21:27 ` [PATCH 2/2] dt-bindings: arm: coresight-tmc: Add 'iommu' property Rob Herring
2022-07-22 8:35 ` [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Sudeep Holla
@ 2022-08-24 19:04 ` Rob Herring
2022-08-25 16:32 ` Mathieu Poirier
2 siblings, 1 reply; 5+ messages in thread
From: Rob Herring @ 2022-08-24 19:04 UTC (permalink / raw)
To: Mathieu Poirier, Suzuki K Poulose, Mike Leach, Leo Yan,
Krzysztof Kozlowski, Maxime Coquelin, Alexandre Torgue
Cc: Coresight ML, linux-arm-kernel, devicetree, linux-kernel,
moderated list:ARM/STM32 ARCHITECTURE
On Thu, Jul 21, 2022 at 4:27 PM Rob Herring <robh@kernel.org> wrote:
>
> 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.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> 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(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
> index d783d9276124..2bae06eed693 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> index 72ffe4d1e948..0c5b875cb654 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> @@ -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:
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
> index 1eeedc22857c..44a1041cb0fc 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
> @@ -54,6 +54,9 @@ properties:
> - const: apb_pclk
> - const: atclk
>
> + power-domains:
> + maxItems: 1
> +
> in-ports:
> $ref: /schemas/graph.yaml#/properties/ports
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
> index a26ed9214e00..03792e9bd97a 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
> @@ -54,6 +54,9 @@ properties:
> - const: apb_pclk
> - const: atclk
>
> + power-domains:
> + maxItems: 1
> +
> qcom,replicator-loses-context:
> type: boolean
> description:
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
> index fd06ede26ceb..90679788e0bf 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
> @@ -54,6 +54,9 @@ properties:
> - const: apb_pclk
> - const: atclk
>
> + power-domains:
> + maxItems: 1
> +
> in-ports:
> $ref: /schemas/graph.yaml#/properties/ports
> additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
> index e0377ce48537..01200f67504a 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
> @@ -73,6 +73,9 @@ properties:
> - const: apb_pclk
> - const: atclk
>
> + power-domains:
> + maxItems: 1
> +
> arm,coresight-loses-context-with-cpu:
> type: boolean
> description:
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> index b9da30ab9ccd..06a1d346982c 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> @@ -27,6 +27,9 @@ properties:
> compatible:
> const: arm,coresight-static-funnel
>
> + power-domains:
> + maxItems: 1
> +
> in-ports:
> $ref: /schemas/graph.yaml#/properties/ports
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> index 66ee97370fb2..5178e7fdff0b 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
> index 905008faa012..378380c3f5aa 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
> @@ -61,6 +61,9 @@ properties:
> - const: apb_pclk
> - const: atclk
>
> + power-domains:
> + maxItems: 1
> +
> out-ports:
> $ref: /schemas/graph.yaml#/properties/ports
> additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
> index 3463b6e53aef..e0b88a71356a 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
> @@ -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
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
> index e80d48200c37..61a0cdc27745 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
> @@ -54,6 +54,9 @@ properties:
> - const: apb_pclk
> - const: atclk
>
> + power-domains:
> + maxItems: 1
> +
> in-ports:
> $ref: /schemas/graph.yaml#/properties/ports
> additionalProperties: false
> diff --git a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
> index 5f07fb166c56..108460627d9a 100644
> --- a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
> @@ -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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property
2022-08-24 19:04 ` Rob Herring
@ 2022-08-25 16:32 ` Mathieu Poirier
0 siblings, 0 replies; 5+ messages in thread
From: Mathieu Poirier @ 2022-08-25 16:32 UTC (permalink / raw)
To: Rob Herring
Cc: Suzuki K Poulose, Mike Leach, Leo Yan, Krzysztof Kozlowski,
Maxime Coquelin, Alexandre Torgue, Coresight ML,
linux-arm-kernel, devicetree, linux-kernel,
moderated list:ARM/STM32 ARCHITECTURE
On Wed, Aug 24, 2022 at 02:04:31PM -0500, Rob Herring wrote:
> On Thu, Jul 21, 2022 at 4:27 PM Rob Herring <robh@kernel.org> wrote:
> >
> > 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
>
> >
> > Signed-off-by: Rob Herring <robh@kernel.org>
> > ---
> > 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(+)
> >
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
> > index d783d9276124..2bae06eed693 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml
> > @@ -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
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> > index 72ffe4d1e948..0c5b875cb654 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> > @@ -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:
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
> > index 1eeedc22857c..44a1041cb0fc 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml
> > @@ -54,6 +54,9 @@ properties:
> > - const: apb_pclk
> > - const: atclk
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > in-ports:
> > $ref: /schemas/graph.yaml#/properties/ports
> >
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
> > index a26ed9214e00..03792e9bd97a 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml
> > @@ -54,6 +54,9 @@ properties:
> > - const: apb_pclk
> > - const: atclk
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > qcom,replicator-loses-context:
> > type: boolean
> > description:
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
> > index fd06ede26ceb..90679788e0bf 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml
> > @@ -54,6 +54,9 @@ properties:
> > - const: apb_pclk
> > - const: atclk
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > in-ports:
> > $ref: /schemas/graph.yaml#/properties/ports
> > additionalProperties: false
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
> > index e0377ce48537..01200f67504a 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml
> > @@ -73,6 +73,9 @@ properties:
> > - const: apb_pclk
> > - const: atclk
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > arm,coresight-loses-context-with-cpu:
> > type: boolean
> > description:
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> > index b9da30ab9ccd..06a1d346982c 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml
> > @@ -27,6 +27,9 @@ properties:
> > compatible:
> > const: arm,coresight-static-funnel
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > in-ports:
> > $ref: /schemas/graph.yaml#/properties/ports
> >
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> > index 66ee97370fb2..5178e7fdff0b 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> > @@ -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
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
> > index 905008faa012..378380c3f5aa 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml
> > @@ -61,6 +61,9 @@ properties:
> > - const: apb_pclk
> > - const: atclk
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > out-ports:
> > $ref: /schemas/graph.yaml#/properties/ports
> > additionalProperties: false
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
> > index 3463b6e53aef..e0b88a71356a 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml
> > @@ -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
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
> > index e80d48200c37..61a0cdc27745 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml
> > @@ -54,6 +54,9 @@ properties:
> > - const: apb_pclk
> > - const: atclk
> >
> > + power-domains:
> > + maxItems: 1
> > +
> > in-ports:
> > $ref: /schemas/graph.yaml#/properties/ports
> > additionalProperties: false
> > diff --git a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
> > index 5f07fb166c56..108460627d9a 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,embedded-trace-extension.yaml
> > @@ -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
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-08-25 16:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 21:27 [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Rob Herring
2022-07-21 21:27 ` [PATCH 2/2] dt-bindings: arm: coresight-tmc: Add 'iommu' property Rob Herring
2022-07-22 8:35 ` [PATCH 1/2] dt-bindings: arm: coresight: Add 'power-domains' property Sudeep Holla
2022-08-24 19:04 ` Rob Herring
2022-08-25 16:32 ` Mathieu Poirier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).