diff mbox series

[v3,1/2] dt-bindings: pinctrl: qcom: update compatible name for match with driver

Message ID 20240312025807.26075-2-quic_tengfan@quicinc.com (mailing list archive)
State Not Applicable
Headers show
Series update SM4450 pinctrl document | expand

Commit Message

Tengfei Fan March 12, 2024, 2:58 a.m. UTC
Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
to match the compatible name in sm4450 pinctrl driver.

Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
---
 Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Krzysztof Kozlowski March 12, 2024, 7:41 a.m. UTC | #1
On 12/03/2024 03:58, Tengfei Fan wrote:
> Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
> to match the compatible name in sm4450 pinctrl driver.
> 
> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
>  Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Wasn't this applied?

Best regards,
Krzysztof
Tengfei Fan March 12, 2024, 7:47 a.m. UTC | #2
On 3/12/2024 3:41 PM, Krzysztof Kozlowski wrote:
> On 12/03/2024 03:58, Tengfei Fan wrote:
>> Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
>> to match the compatible name in sm4450 pinctrl driver.
>>
>> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
>> ---
>>   Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Wasn't this applied?

My test code base on tag: next-20240308, this patch is still not applied.

In fact, the following dt binding check warning only can be got before 
this patch is applied.

Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.example.dtb:
/example-0/pinctrl@f100000: failed to match any schema with
compatible: ['qcom,sm4450-tlmm']


> 
> Best regards,
> Krzysztof
>
Krzysztof Kozlowski March 12, 2024, 10:55 a.m. UTC | #3
On 12/03/2024 08:47, Tengfei Fan wrote:
> 
> 
> On 3/12/2024 3:41 PM, Krzysztof Kozlowski wrote:
>> On 12/03/2024 03:58, Tengfei Fan wrote:
>>> Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
>>> to match the compatible name in sm4450 pinctrl driver.
>>>
>>> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
>>> ---
>>>   Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> Wasn't this applied?
> 
> My test code base on tag: next-20240308, this patch is still not applied.
> 
> In fact, the following dt binding check warning only can be got before 
> this patch is applied.
> 

Please read all emails in the previous thread. You ignored two emails in
the past and apparently one more recent.

Best regards,
Krzysztof
Tengfei Fan March 13, 2024, 1:30 a.m. UTC | #4
On 3/12/2024 6:55 PM, Krzysztof Kozlowski wrote:
> On 12/03/2024 08:47, Tengfei Fan wrote:
>>
>>
>> On 3/12/2024 3:41 PM, Krzysztof Kozlowski wrote:
>>> On 12/03/2024 03:58, Tengfei Fan wrote:
>>>> Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
>>>> to match the compatible name in sm4450 pinctrl driver.
>>>>
>>>> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
>>>> ---
>>>>    Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> Wasn't this applied?
>>
>> My test code base on tag: next-20240308, this patch is still not applied.
>>
>> In fact, the following dt binding check warning only can be got before
>> this patch is applied.
>>
> 
> Please read all emails in the previous thread. You ignored two emails in
> the past and apparently one more recent.

I don't know if you mean I ignored the email which related with "Patch 
applied" tag from Linus Walleij. If so, the following is the reasion why 
I still include this patch:

I synced the latest upstream code on 03/12/2024, the latest tag is 
next-20240308, this tag still doesn't include this patch[PATCH v3 1/2].

Dt binding check still get warning if I only send [PATCH v3 2/2] patch 
to upstream base on next-20240308. so I include this patch[PATCH v3 1/2] 
in patch series even if this patch have "Patch applied" tag.

Looking forward to getting your advice if submitting patch series this 
way is problematic.

Thank Krzysztof again for your patient and kind review this patch series!

> 
> Best regards,
> Krzysztof
>
Krzysztof Kozlowski March 13, 2024, 7:23 a.m. UTC | #5
On 13/03/2024 02:30, Tengfei Fan wrote:
> 
> 
> On 3/12/2024 6:55 PM, Krzysztof Kozlowski wrote:
>> On 12/03/2024 08:47, Tengfei Fan wrote:
>>>
>>>
>>> On 3/12/2024 3:41 PM, Krzysztof Kozlowski wrote:
>>>> On 12/03/2024 03:58, Tengfei Fan wrote:
>>>>> Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
>>>>> to match the compatible name in sm4450 pinctrl driver.
>>>>>
>>>>> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>>>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
>>>>> ---
>>>>>    Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>>>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> Wasn't this applied?
>>>
>>> My test code base on tag: next-20240308, this patch is still not applied.
>>>
>>> In fact, the following dt binding check warning only can be got before
>>> this patch is applied.
>>>
>>
>> Please read all emails in the previous thread. You ignored two emails in
>> the past and apparently one more recent.
> 
> I don't know if you mean I ignored the email which related with "Patch 
> applied" tag from Linus Walleij. If so, the following is the reasion why 
> I still include this patch:

Yep, that's the one. Please do not send patches which were already
applied. It causes unnecessary effort on reviewer and maintainer side.

> 
> I synced the latest upstream code on 03/12/2024, the latest tag is 
> next-20240308, this tag still doesn't include this patch[PATCH v3 1/2].

Happens, considering Linus applied it after 8th of March, I think.

> 
> Dt binding check still get warning if I only send [PATCH v3 2/2] patch 
> to upstream base on next-20240308. so I include this patch[PATCH v3 1/2] 

If you send patch 1+2, dt_binding_check will have exactly the same
result. I don't know about what sort of dt binding check you talk, but
for all cases: you changed nothing by sending these two patches in that
regard. Only noise on the lists.

> in patch series even if this patch have "Patch applied" tag.
> 
> Looking forward to getting your advice if submitting patch series this 
> way is problematic.

Do not send patches which are known to be applied.

Best regards,
Krzysztof
Tengfei Fan March 13, 2024, 7:55 a.m. UTC | #6
On 3/13/2024 3:23 PM, Krzysztof Kozlowski wrote:
> On 13/03/2024 02:30, Tengfei Fan wrote:
>>
>>
>> On 3/12/2024 6:55 PM, Krzysztof Kozlowski wrote:
>>> On 12/03/2024 08:47, Tengfei Fan wrote:
>>>>
>>>>
>>>> On 3/12/2024 3:41 PM, Krzysztof Kozlowski wrote:
>>>>> On 12/03/2024 03:58, Tengfei Fan wrote:
>>>>>> Use compatible name "qcom,sm4450-tlmm" instead of "qcom,sm4450-pinctrl"
>>>>>> to match the compatible name in sm4450 pinctrl driver.
>>>>>>
>>>>>> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>>>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>>>>> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
>>>>>> ---
>>>>>>     Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>>>>>>     1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>
>>>>> Wasn't this applied?
>>>>
>>>> My test code base on tag: next-20240308, this patch is still not applied.
>>>>
>>>> In fact, the following dt binding check warning only can be got before
>>>> this patch is applied.
>>>>
>>>
>>> Please read all emails in the previous thread. You ignored two emails in
>>> the past and apparently one more recent.
>>
>> I don't know if you mean I ignored the email which related with "Patch
>> applied" tag from Linus Walleij. If so, the following is the reasion why
>> I still include this patch:
> 
> Yep, that's the one. Please do not send patches which were already
> applied. It causes unnecessary effort on reviewer and maintainer side.
> 
>>
>> I synced the latest upstream code on 03/12/2024, the latest tag is
>> next-20240308, this tag still doesn't include this patch[PATCH v3 1/2].
> 
> Happens, considering Linus applied it after 8th of March, I think.
> 
>>
>> Dt binding check still get warning if I only send [PATCH v3 2/2] patch
>> to upstream base on next-20240308. so I include this patch[PATCH v3 1/2]
> 
> If you send patch 1+2, dt_binding_check will have exactly the same
> result. I don't know about what sort of dt binding check you talk, but
> for all cases: you changed nothing by sending these two patches in that
> regard. Only noise on the lists.

The dt binding check failed which Rob Herring remind me in previous 
patch series as the following:

Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.example.dtb:
/example-0/pinctrl@f100000: failed to match any schema with
compatible: ['qcom,sm4450-tlmm']

This failed is introduced by 
https://lore.kernel.org/linux-arm-msm/20231206020840.33228-2-quic_tengfan@quicinc.com/. 
Something got broken aroud -m flags for dtschema, so indeed no reports 
this unmatched compatibles warning when this patch was revriwed. We also 
have some discusstion in patch email.

The patch[PATCH v3 1/2] is made for fix this previous patch dt binding 
check failed. So dt binding check failed will disappear after this 
patch[PATCH v3 1/2] is applied.

> 
>> in patch series even if this patch have "Patch applied" tag.
>>
>> Looking forward to getting your advice if submitting patch series this
>> way is problematic.
> 
> Do not send patches which are known to be applied.

Yes, I will be careful not to resend the patch which have already been 
applied in the future work.

Do you think it is necessary to send another version patch series for 
remove this applied patch[PATCH v3 1/2] from patch series?

> 
> Best regards,
> Krzysztof
>
Krzysztof Kozlowski March 13, 2024, 9:11 a.m. UTC | #7
On 13/03/2024 08:55, Tengfei Fan wrote:
>>>>>> Wasn't this applied?
>>>>>
>>>>> My test code base on tag: next-20240308, this patch is still not applied.
>>>>>
>>>>> In fact, the following dt binding check warning only can be got before
>>>>> this patch is applied.
>>>>>
>>>>
>>>> Please read all emails in the previous thread. You ignored two emails in
>>>> the past and apparently one more recent.
>>>
>>> I don't know if you mean I ignored the email which related with "Patch
>>> applied" tag from Linus Walleij. If so, the following is the reasion why
>>> I still include this patch:
>>
>> Yep, that's the one. Please do not send patches which were already
>> applied. It causes unnecessary effort on reviewer and maintainer side.
>>
>>>
>>> I synced the latest upstream code on 03/12/2024, the latest tag is
>>> next-20240308, this tag still doesn't include this patch[PATCH v3 1/2].
>>
>> Happens, considering Linus applied it after 8th of March, I think.
>>
>>>
>>> Dt binding check still get warning if I only send [PATCH v3 2/2] patch
>>> to upstream base on next-20240308. so I include this patch[PATCH v3 1/2]
>>
>> If you send patch 1+2, dt_binding_check will have exactly the same
>> result. I don't know about what sort of dt binding check you talk, but
>> for all cases: you changed nothing by sending these two patches in that
>> regard. Only noise on the lists.
> 
> The dt binding check failed which Rob Herring remind me in previous 
> patch series as the following:

This does not make any sense. Whether Rob runs his test on previous or
future next, changes nothing in regard of this patchset being sent with
duplicated patch or not. The result will be exactly the same for Rob.

> 
> Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.example.dtb:
> /example-0/pinctrl@f100000: failed to match any schema with
> compatible: ['qcom,sm4450-tlmm']
> 
> This failed is introduced by 
> https://lore.kernel.org/linux-arm-msm/20231206020840.33228-2-quic_tengfan@quicinc.com/. 
> Something got broken aroud -m flags for dtschema, so indeed no reports 
> this unmatched compatibles warning when this patch was revriwed. We also 
> have some discusstion in patch email.

Again, not related at all whether you send patch *which was applied* or not.

> 
> The patch[PATCH v3 1/2] is made for fix this previous patch dt binding 
> check failed. So dt binding check failed will disappear after this 
> patch[PATCH v3 1/2] is applied.

And who is supposed to run that dt binding check and on what base? Your
patch changes absolutely nothing in that regard, just creates confusion.

And the fact that you keep arguing over this simple case, reminds me
other clueless discussions I had with some Qualcomm folks. None of the
arguments you brought here justify sending patch which was applied.

> 
>>
>>> in patch series even if this patch have "Patch applied" tag.
>>>
>>> Looking forward to getting your advice if submitting patch series this
>>> way is problematic.
>>
>> Do not send patches which are known to be applied.
> 
> Yes, I will be careful not to resend the patch which have already been 
> applied in the future work.

Then why do you keep arguing that sending this duplicated patch was
correct approach?

> 
> Do you think it is necessary to send another version patch series for 
> remove this applied patch[PATCH v3 1/2] from patch series?

No. It is merge window, please read process documents in Documentation
directory. Then please read Qualcomm upstreaming guide.

Best regards,
Krzysztof
Tengfei Fan March 13, 2024, 10:31 a.m. UTC | #8
On 3/13/2024 5:11 PM, Krzysztof Kozlowski wrote:
> On 13/03/2024 08:55, Tengfei Fan wrote:
>>>>>>> Wasn't this applied?
>>>>>>
>>>>>> My test code base on tag: next-20240308, this patch is still not applied.
>>>>>>
>>>>>> In fact, the following dt binding check warning only can be got before
>>>>>> this patch is applied.
>>>>>>
>>>>>
>>>>> Please read all emails in the previous thread. You ignored two emails in
>>>>> the past and apparently one more recent.
>>>>
>>>> I don't know if you mean I ignored the email which related with "Patch
>>>> applied" tag from Linus Walleij. If so, the following is the reasion why
>>>> I still include this patch:
>>>
>>> Yep, that's the one. Please do not send patches which were already
>>> applied. It causes unnecessary effort on reviewer and maintainer side.
>>>
>>>>
>>>> I synced the latest upstream code on 03/12/2024, the latest tag is
>>>> next-20240308, this tag still doesn't include this patch[PATCH v3 1/2].
>>>
>>> Happens, considering Linus applied it after 8th of March, I think.
>>>
>>>>
>>>> Dt binding check still get warning if I only send [PATCH v3 2/2] patch
>>>> to upstream base on next-20240308. so I include this patch[PATCH v3 1/2]
>>>
>>> If you send patch 1+2, dt_binding_check will have exactly the same
>>> result. I don't know about what sort of dt binding check you talk, but
>>> for all cases: you changed nothing by sending these two patches in that
>>> regard. Only noise on the lists.
>>
>> The dt binding check failed which Rob Herring remind me in previous
>> patch series as the following:
> 
> This does not make any sense. Whether Rob runs his test on previous or
> future next, changes nothing in regard of this patchset being sent with
> duplicated patch or not. The result will be exactly the same for Rob.
> 
>>
>> Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.example.dtb:
>> /example-0/pinctrl@f100000: failed to match any schema with
>> compatible: ['qcom,sm4450-tlmm']
>>
>> This failed is introduced by
>> https://lore.kernel.org/linux-arm-msm/20231206020840.33228-2-quic_tengfan@quicinc.com/.
>> Something got broken aroud -m flags for dtschema, so indeed no reports
>> this unmatched compatibles warning when this patch was revriwed. We also
>> have some discusstion in patch email.
> 
> Again, not related at all whether you send patch *which was applied* or not.
> 
>>
>> The patch[PATCH v3 1/2] is made for fix this previous patch dt binding
>> check failed. So dt binding check failed will disappear after this
>> patch[PATCH v3 1/2] is applied.
> 
> And who is supposed to run that dt binding check and on what base? Your
> patch changes absolutely nothing in that regard, just creates confusion.
> 
> And the fact that you keep arguing over this simple case, reminds me
> other clueless discussions I had with some Qualcomm folks. None of the
> arguments you brought here justify sending patch which was applied.

Sending duplicated patch isn't a correct approach, I will avoid making 
similar mistakes in the future.

> 
>>
>>>
>>>> in patch series even if this patch have "Patch applied" tag.
>>>>
>>>> Looking forward to getting your advice if submitting patch series this
>>>> way is problematic.
>>>
>>> Do not send patches which are known to be applied.
>>
>> Yes, I will be careful not to resend the patch which have already been
>> applied in the future work.
> 
> Then why do you keep arguing that sending this duplicated patch was
> correct approach?
There may be some confusion here. Sending this duplicated patch isn't a 
correct approach, I will not send duplicated patch again in the future 
upstream work.

> 
>>
>> Do you think it is necessary to send another version patch series for
>> remove this applied patch[PATCH v3 1/2] from patch series?
> 
> No. It is merge window, please read process documents in Documentation
> directory. Then please read Qualcomm upstreaming guide.
> 
> Best regards,
> Krzysztof
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml
index bb08ca5a1509..bb675c8ec220 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml
@@ -17,7 +17,7 @@  allOf:
 
 properties:
   compatible:
-    const: qcom,sm4450-pinctrl
+    const: qcom,sm4450-tlmm
 
   reg:
     maxItems: 1