2023-12-19 00:51:36

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH v3 1/6] dt-bindings: arm: qcom: Document qcs8550 SoC and board

Document the qcs8550 SoC and the AIM300 AIoT board bindings.
AIM300 Series is a highly optimized family of modules designed to support
AIoT applications. The Module is mounted onto Qualcomm AIoT carrier board
to support verification, evaluation and development.
AIM stands for Artificial Intelligence Module. AIoT stands for AI IoT.

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Tengfei Fan <[email protected]>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 1a5fb889a444..a0e3cf271cfe 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -49,6 +49,7 @@ description: |
msm8996
msm8998
qcs404
+ qcs8550
qcm2290
qcm6490
qdu1000
@@ -904,6 +905,12 @@ properties:
- const: qcom,qcs404-evb
- const: qcom,qcs404

+ - items:
+ - enum:
+ - qcom,qcs8550-aim300-aiot
+ - const: qcom,qcs8550-aim300
+ - const: qcom,qcs8550
+
- items:
- enum:
- qcom,sa8155p-adp
--
2.17.1



2023-12-19 06:57:12

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 1/6] dt-bindings: arm: qcom: Document qcs8550 SoC and board

On 19/12/2023 01:50, Tengfei Fan wrote:
> Document the qcs8550 SoC and the AIM300 AIoT board bindings.
> AIM300 Series is a highly optimized family of modules designed to support
> AIoT applications. The Module is mounted onto Qualcomm AIoT carrier board
> to support verification, evaluation and development.
> AIM stands for Artificial Intelligence Module. AIoT stands for AI IoT.
>
> Reviewed-by: Krzysztof Kozlowski <[email protected]>

Drop

> Signed-off-by: Tengfei Fan <[email protected]>
> ---
> Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
> index 1a5fb889a444..a0e3cf271cfe 100644
> --- a/Documentation/devicetree/bindings/arm/qcom.yaml
> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml
> @@ -49,6 +49,7 @@ description: |
> msm8996
> msm8998
> qcs404
> + qcs8550
> qcm2290
> qcm6490
> qdu1000
> @@ -904,6 +905,12 @@ properties:
> - const: qcom,qcs404-evb
> - const: qcom,qcs404
>
> + - items:
> + - enum:
> + - qcom,qcs8550-aim300-aiot
> + - const: qcom,qcs8550-aim300
> + - const: qcom,qcs8550

Missing compatible. Please read previous discussions.

Best regards,
Krzysztof


2023-12-19 09:51:24

by Aiqun Yu (Maria)

[permalink] [raw]
Subject: Re: [PATCH v3 1/6] dt-bindings: arm: qcom: Document qcs8550 SoC and board



On 12/19/2023 2:56 PM, Krzysztof Kozlowski wrote:
> On 19/12/2023 01:50, Tengfei Fan wrote:
>> Document the qcs8550 SoC and the AIM300 AIoT board bindings.
>> AIM300 Series is a highly optimized family of modules designed to support
>> AIoT applications. The Module is mounted onto Qualcomm AIoT carrier board
>> to support verification, evaluation and development.
>> AIM stands for Artificial Intelligence Module. AIoT stands for AI IoT.
>>
>> Reviewed-by: Krzysztof Kozlowski <[email protected]>
>
> Drop
>
>> Signed-off-by: Tengfei Fan <[email protected]>
>> ---
>> Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
>> index 1a5fb889a444..a0e3cf271cfe 100644
>> --- a/Documentation/devicetree/bindings/arm/qcom.yaml
>> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml
>> @@ -49,6 +49,7 @@ description: |
>> msm8996
>> msm8998
>> qcs404
>> + qcs8550
>> qcm2290
>> qcm6490
>> qdu1000
>> @@ -904,6 +905,12 @@ properties:
>> - const: qcom,qcs404-evb
>> - const: qcom,qcs404
>>
>> + - items:
>> + - enum:
>> + - qcom,qcs8550-aim300-aiot
>> + - const: qcom,qcs8550-aim300
>> + - const: qcom,qcs8550
Need to add below line here, right?
+ - const: qcom,sm8550
>
> Missing compatible. Please read previous discussions.
The previous comments was missed. Just double confirm here for
"fallback" meaning here.

Could you pls also double confirm for my understandings for the
compatible rules?
As long as sm8550 was designed "hardware compatible"(pin-to-pin
compatible) and "software firmware compatible"(firmware also support
sm8550) to qcs8550, it is request to add compatible sm8550 to current
compatible sequence like: board/SOM/soc/base soc.

Note that, we don't really have hardware like "sm8550 inside aim300".
>
> Best regards,
> Krzysztof
>

--
Thx and BRs,
Aiqun(Maria) Yu

2023-12-19 10:10:52

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 1/6] dt-bindings: arm: qcom: Document qcs8550 SoC and board

On 19/12/2023 10:45, Aiqun Yu (Maria) wrote:
>>> + - items:
>>> + - enum:
>>> + - qcom,qcs8550-aim300-aiot
>>> + - const: qcom,qcs8550-aim300
>>> + - const: qcom,qcs8550
> Need to add below line here, right?
> + - const: qcom,sm8550

Yes.

>>
>> Missing compatible. Please read previous discussions.
> The previous comments was missed. Just double confirm here for
> "fallback" meaning here.
>
> Could you pls also double confirm for my understandings for the
> compatible rules?

Compatible rules were expressed in Devicetree specification and also
writing-bindings document.

> As long as sm8550 was designed "hardware compatible"(pin-to-pin
> compatible) and "software firmware compatible"(firmware also support
> sm8550) to qcs8550, it is request to add compatible sm8550 to current
> compatible sequence like: board/SOM/soc/base soc.

I understood before that firmware is not compatible. Are there any
changes now?

The understanding was that your new SoC is stripped down SM8550, thus
you will be using almost all of the SM8550 DTSI. If you use all of
device nodes, the devices are compatible, aren't they? If they are
compatible, then the writing-bindings document asks you to do add
specific compatible.

Please reach internally within Qualcomm for some initial guidance how
DTS and DTSI looks like, so reviewers on mailing list won't need to
explain it.

This week it is third comment like this on mailing lists for three
different patchsets. It is great that you send code upstream. Big
companies however are expected to do some internal work first, instead
of relying on the community.

>
> Note that, we don't really have hardware like "sm8550 inside aim300".

I really don't know what do you have and I did not find any explanation
of QCS8550 in this commit msg which brings new compatible.

Best regards,
Krzysztof