2024-06-03 09:48:55

by Mao Jinlong

[permalink] [raw]
Subject: [PATCH v2 1/3] dt-bindings: arm: Add trace-id for coresight dummy source

Add trace-id for static id support to coresight dummy source.

Signed-off-by: Mao Jinlong <[email protected]>
---
.../devicetree/bindings/arm/arm,coresight-dummy-source.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
index 6745b4cc8f1c..58d5db80926d 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
@@ -38,6 +38,12 @@ properties:
enum:
- arm,coresight-dummy-source

+ trace-id:
+ description: If dummy source needs static id support, use this to set trace id.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 1
+ maximum: 111
+
out-ports:
$ref: /schemas/graph.yaml#/properties/ports

--
2.41.0



2024-06-05 16:16:03

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 1/3] dt-bindings: arm: Add trace-id for coresight dummy source

On Mon, Jun 03, 2024 at 02:43:50AM -0700, Mao Jinlong wrote:
> Add trace-id for static id support to coresight dummy source.

Why do you need this feature?

>
> Signed-off-by: Mao Jinlong <[email protected]>
> ---
> .../devicetree/bindings/arm/arm,coresight-dummy-source.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
> index 6745b4cc8f1c..58d5db80926d 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-dummy-source.yaml
> @@ -38,6 +38,12 @@ properties:
> enum:
> - arm,coresight-dummy-source
>
> + trace-id:

arm,trace-id

> + description: If dummy source needs static id support, use this to set trace id.
> + $ref: /schemas/types.yaml#/definitions/uint32
> + minimum: 1
> + maximum: 111
> +
> out-ports:
> $ref: /schemas/graph.yaml#/properties/ports
>
> --
> 2.41.0
>