Re: [PATCH v2 4/8] dt-bindings: arm-smmu: Add compatible for SM4450 SoC

From: Krzysztof Kozlowski
Date: Fri Sep 15 2023 - 05:10:54 EST


On 15/09/2023 10:52, Tengfei Fan wrote:
>
>
> 在 9/15/2023 3:11 PM, Krzysztof Kozlowski 写道:
>> On 15/09/2023 04:15, Tengfei Fan wrote:
>>> Add the SoC specific compatible for SM4450 implementing arm,mmu-500.
>>>
>>> Signed-off-by: Tengfei Fan <quic_tengfan@xxxxxxxxxxx>
>>> ---
>>> Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 +++
>>> 1 file changed, 3 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>> index cf29ab10501c..b57751c8ad90 100644
>>> --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>> +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
>>> @@ -47,6 +47,7 @@ properties:
>>> - qcom,sdx55-smmu-500
>>> - qcom,sdx65-smmu-500
>>> - qcom,sdx75-smmu-500
>>> + - qcom,sm4450-smmu-500
>>> - qcom,sm6115-smmu-500
>>> - qcom,sm6125-smmu-500
>>> - qcom,sm6350-smmu-500
>>> @@ -70,6 +71,7 @@ properties:
>>> - qcom,sc8180x-smmu-500
>>> - qcom,sc8280xp-smmu-500
>>> - qcom,sdm845-smmu-500
>>> + - qcom,sm4450-smmu-500
>>
>> Isn't there comment just few lines above your edit? Comment saying DON'T?
>>
>>
>> Best regards,
>> Krzysztof
>>
> Hi Kraysztof
> I seems haven't understand your comments totaly.
> I want to confirm that if you think only need "qcom,smmu-500" and
> "arm,mmu-500" compitbale name, needn't specific compitable name for each
> platform?


No, please read the comment. It tells you explicitly what to do - which
compatible add where.

Best regards,
Krzysztof