[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cc13d781-f6d8-0cb9-17e2-0a6089f60fd2@linaro.org>
Date: Thu, 30 Mar 2023 09:54:39 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Mao Jinlong <quic_jinlmao@...cinc.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Suzuki K Poulose <suzuki.poulose@....com>,
Mike Leach <mike.leach@...aro.org>,
Leo Yan <leo.yan@...aro.org>, Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
coresight@...ts.linaro.org, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
Tingwei Zhang <quic_tingweiz@...cinc.com>,
Yuanfang Zhang <quic_yuanfang@...cinc.com>,
Tao Zhang <quic_taozha@...cinc.com>,
Hao Zhang <quic_hazha@...cinc.com>
Subject: Re: [PATCH v1 8/8] dt-bindings: arm: Add support for TPDM CMB element
size
On 29/03/2023 10:47, Mao Jinlong wrote:
> Add property "qcom,cmb-elem-size" to support CMB element for TPDM.
> The associated aggregator will read this size before it is enabled.
> CMB element size currently only supports 8-bit, 32-bit and 64-bit.
>
> Signed-off-by: Mao Jinlong <quic_jinlmao@...cinc.com>
> ---
> .../bindings/arm/qcom,coresight-tpdm.yaml | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
> index 283dfb39d46f..c5169de81e58 100644
> --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
> +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
> @@ -53,6 +53,14 @@ properties:
> minimum: 32
> maximum: 64
>
> + qcom,cmb-element-size:
s/size/bits/
https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/property-units.yaml
> + description:
> + Specifies the CMB (Continuous multi-bit) element size supported by
> + the monitor. The associated aggregator will read this size before it
> + is enabled. CMB element size currently supports 8-bit, 32-bit, 64-bit.
> + $ref: /schemas/types.yaml#/definitions/uint32
> + enum: [8, 32, 64]
> +
> qcom,dsb_msr_num:
> description:
> Specifies the number of DSB(Discrete Single Bit) MSR(mux select register)
> @@ -95,6 +103,12 @@ required:
> - clocks
> - clock-names
>
> +anyOf:
> + - required:
> + - qcom,dsb_msr_num
There is no such property.
> + - required:
> + - qcom,cmb-msr-num
Why this is part of this patch?
> +
> additionalProperties: false
>
> examples:
> @@ -105,6 +119,8 @@ examples:
> reg = <0x0684c000 0x1000>;
>
> qcom,dsb-element-size = <32>;
> + qcom,cmb-element-size = <32>;
> +
> qcom,dsb_msr_num = <16>;
> qcom,cmb-msr-num = <6>;
>
Best regards,
Krzysztof
Powered by blists - more mailing lists