Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: add QCrypto node

From: Yuvaraj Ranganathan
Date: Fri Mar 28 2025 - 04:33:43 EST




On 3/28/2025 12:47 PM, Krzysztof Kozlowski wrote:
> On 28/03/2025 07:04, Yuvaraj Ranganathan wrote:
>>>>> Use commit SHA syntax (see submitting patches, checkpatch).
>>>>>
>>>>>> because of the build warning,
>>>>>>
>>>>>> sa8775p-ride.dtb: crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
>>>>>> ...
>>>>>> 'qcom,sa8775p-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
>>>>>
>>>>> Not relevant warning.
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Krzysztof
>>>>
>>>> Are you saying this is not the warning seen at merging?
>>> Tell me how it is relevant? Tell me how can I reproduce it.
>>>
>>> Best regards,
>>> Krzysztof
>>
>> Below commands will show the above warnings without the fix,
>> make clean && make qcom/qcs9100-ride.dtb CHECK_DTBS=1
>> make clean && make qcom/qcs8300-ride.dtb CHECK_DTBS=1
>
> As I suspected, not possible to reproduce.
>
> Best regards,
> Krzysztof

I'm able to reproduce without this fix, I hope you are discussing about
this failure only,

from schema $id:
http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml#
/local/mnt/workspace/K2L/upstream-kernel/linux-tree/arch/arm64/boot/dts/qcom/qcs9100-ride.dtb:
crypto@1dfa000: compatible: 'oneOf' conditional failed, one must be fixed:
['qcom,sa8775p-qce', 'qcom,qce'] is too long
['qcom,sa8775p-qce', 'qcom,qce'] is too short
'qcom,crypto-v5.1' was expected
'qcom,crypto-v5.4' was expected
'qcom,sa8775p-qce' is not one of ['qcom,ipq4019-qce', 'qcom,sm8150-qce']
'qcom,sa8775p-qce' is not one of ['qcom,ipq6018-qce',
'qcom,ipq8074-qce', 'qcom,ipq9574-qce', 'qcom,msm8996-qce',
'qcom,qcm2290-qce', 'qcom,sdm845-qce', 'qcom,sm6115-qce']
'qcom,ipq4019-qce' was expected
'qcom,sm8150-qce' was expected

Thanks,
Yuvaraj.