[PATCH v2 1/2] dt-bindings: arm: Add Qualcomm extended CTI

Mao Jinlong posted 2 patches 9 months, 2 weeks ago
There is a newer version of this series
[PATCH v2 1/2] dt-bindings: arm: Add Qualcomm extended CTI
Posted by Mao Jinlong 9 months, 2 weeks ago
Add Qualcomm extended CTI support in CTI binding file. Qualcomm
extended CTI supports up to 128 triggers.

Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
---
 Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
index 2d5545a2b49c..1aa27461f5bc 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
@@ -84,7 +84,9 @@ properties:
           - const: arm,coresight-cti
           - const: arm,primecell
       - items:
-          - const: arm,coresight-cti-v8-arch
+          - enum:
+              - arm,coresight-cti-v8-arch
+              - qcom,coresight-cti-extended
           - const: arm,coresight-cti
           - const: arm,primecell
 
-- 
2.25.1
Re: [PATCH v2 1/2] dt-bindings: arm: Add Qualcomm extended CTI
Posted by Krzysztof Kozlowski 9 months, 2 weeks ago
On Tue, Apr 29, 2025 at 12:18:40AM GMT, Mao Jinlong wrote:
> Add Qualcomm extended CTI support in CTI binding file. Qualcomm
> extended CTI supports up to 128 triggers.
> 
> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
> ---
>  Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> index 2d5545a2b49c..1aa27461f5bc 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
> @@ -84,7 +84,9 @@ properties:
>            - const: arm,coresight-cti
>            - const: arm,primecell
>        - items:
> -          - const: arm,coresight-cti-v8-arch
> +          - enum:
> +              - arm,coresight-cti-v8-arch
> +              - qcom,coresight-cti-extended

cpu phandle is not required? Or not even valid?

Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: arm: Add Qualcomm extended CTI
Posted by Jinlong Mao 9 months, 1 week ago

On 2025/5/2 14:43, Krzysztof Kozlowski wrote:
> On Tue, Apr 29, 2025 at 12:18:40AM GMT, Mao Jinlong wrote:
>> Add Qualcomm extended CTI support in CTI binding file. Qualcomm
>> extended CTI supports up to 128 triggers.
>>
>> Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
>> ---
>>   Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml | 4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
>> index 2d5545a2b49c..1aa27461f5bc 100644
>> --- a/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
>> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml
>> @@ -84,7 +84,9 @@ properties:
>>             - const: arm,coresight-cti
>>             - const: arm,primecell
>>         - items:
>> -          - const: arm,coresight-cti-v8-arch
>> +          - enum:
>> +              - arm,coresight-cti-v8-arch
>> +              - qcom,coresight-cti-extended
> 
> cpu phandle is not required? Or not even valid?

cpu phandle is not required for exteneded CTI.

> 
> Best regards,
> Krzysztof
>