lkml.org 
[lkml]   [2023]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 1/9] dt-bindings: arm: Add support for DSB element
From
On 19/01/2023 07:41, Tao Zhang wrote:
> Add property "qcom,dsb-elem-size" to support DSB(Discrete Single
> Bit) element for TPDA. Specifies the DSB element size supported
> by each monitor connected to the aggregator on each port. Should
> be specified in pairs (port, dsb element size).
>
> Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
> Signed-off-by: Tao Zhang <taozha@qti.qualcomm.com>
> ---
> .../bindings/arm/qcom,coresight-tpda.yaml | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml
> index 2ec9b5b..298db7f 100644
> --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml
> +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml
> @@ -58,6 +58,26 @@ properties:
> minItems: 1
> maxItems: 2
>
> + qcom,dsb-element-size:
> + description: |
> + Specifies the DSB(Discrete Single Bit) element size supported by
> + each monitor connected to the aggregator on each port. Should be
> + specified in pairs <port, dsb element size>.
> +
> + Note: The maximum value of the port number depends on how many
> + input ports the current TPDA has. DSB element size currently only
> + supports 32-bit and 64-bit.
> + $ref: /schemas/types.yaml#/definitions/uint32-matrix
> + items:
> + items:
> + - description: |
> + "port" indicates TPDA input port number
> + minimum: 0
> + - description: |
> + "dsb element size" indicates dsb element size
> + minimum: 0
> + maximum: 64
> +
> clocks:
> maxItems: 1
>
> @@ -100,6 +120,8 @@ examples:
> compatible = "qcom,coresight-tpda", "arm,primecell";
> reg = <0x6004000 0x1000>;
>
> + qcom,dsb-element-size = <0 32>;
> +

If we go down this route,

nit: please could you provide a bit more complex example, e.g. with 2
entries ?

Suzuki

> clocks = <&aoss_qmp>;
> clock-names = "apb_pclk";
>

\
 
 \ /
  Last update: 2023-03-27 00:32    [W:0.287 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site