diff mbox series

[14/22] dt-bindings: arm-smmu: document the support on SA8255p

Message ID 20240828203721.2751904-15-quic_nkela@quicinc.com (mailing list archive)
State Accepted
Commit 757c5ceedc69b089021f1093f03bad8a5543dc09
Headers show
Series arm64: qcom: Introduce SA8255p Ride platform | expand

Commit Message

Nikunj Kela Aug. 28, 2024, 8:37 p.m. UTC
Add compatible for smmu representing support on SA8255p.

Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Krzysztof Kozlowski Aug. 29, 2024, 7:36 a.m. UTC | #1
On Wed, Aug 28, 2024 at 01:37:13PM -0700, Nikunj Kela wrote:
> Add compatible for smmu representing support on SA8255p.
> 
> Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
> ---
>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Your subjects contain quite redundant/excessive information. In the same
time they lack information about device. 

1. s/document the support on/add/
2. s/SA8255p/SA8255p SMMU-or-whatever-device-it-is/

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Nikunj Kela Aug. 29, 2024, 3:39 p.m. UTC | #2
On 8/29/2024 12:36 AM, Krzysztof Kozlowski wrote:
> On Wed, Aug 28, 2024 at 01:37:13PM -0700, Nikunj Kela wrote:
>> Add compatible for smmu representing support on SA8255p.
>>
>> Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
>> ---
>>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 +++
>>  1 file changed, 3 insertions(+)
>>
> Your subjects contain quite redundant/excessive information. In the same
> time they lack information about device. 
>
> 1. s/document the support on/add/
> 2. s/SA8255p/SA8255p SMMU-or-whatever-device-it-is/
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> Best regards,
> Krzysztof

Okay. I thought arm-smmu tag already indicate which device this patch is
for but would put SMMU explicitly in the subject.

Thanks,

-Nikunj
Krzysztof Kozlowski Aug. 30, 2024, 10 a.m. UTC | #3
On 29/08/2024 17:39, Nikunj Kela wrote:
> 
> On 8/29/2024 12:36 AM, Krzysztof Kozlowski wrote:
>> On Wed, Aug 28, 2024 at 01:37:13PM -0700, Nikunj Kela wrote:
>>> Add compatible for smmu representing support on SA8255p.
>>>
>>> Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
>>> ---
>>>  Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 3 +++
>>>  1 file changed, 3 insertions(+)
>>>
>> Your subjects contain quite redundant/excessive information. In the same
>> time they lack information about device. 
>>
>> 1. s/document the support on/add/
>> 2. s/SA8255p/SA8255p SMMU-or-whatever-device-it-is/
>>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>
>> Best regards,
>> Krzysztof
> 
> Okay. I thought arm-smmu tag already indicate which device this patch is
> for but would put SMMU explicitly in the subject.

arm,smmu indicates the binding file which might be or might not exactly
be the same as actual device. Sometimes they have difference names. I am
not saying that it would be beneficial here, but some other patches
could benefit probably.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index 280b4e49f219..3353c2d37841 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -37,6 +37,7 @@  properties:
           - enum:
               - qcom,qcm2290-smmu-500
               - qcom,qdu1000-smmu-500
+              - qcom,sa8255p-smmu-500
               - qcom,sa8775p-smmu-500
               - qcom,sc7180-smmu-500
               - qcom,sc7280-smmu-500
@@ -84,6 +85,7 @@  properties:
         items:
           - enum:
               - qcom,qcm2290-smmu-500
+              - qcom,sa8255p-smmu-500
               - qcom,sa8775p-smmu-500
               - qcom,sc7280-smmu-500
               - qcom,sc8180x-smmu-500
@@ -553,6 +555,7 @@  allOf:
               - marvell,ap806-smmu-500
               - nvidia,smmu-500
               - qcom,qdu1000-smmu-500
+              - qcom,sa8255p-smmu-500
               - qcom,sc7180-smmu-500
               - qcom,sdm670-smmu-500
               - qcom,sdm845-smmu-500