2024-01-24 02:34:21

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH 0/2] dt-bindings: pinctrl: qcom: update SM4450 pinctrl

Fix the wrong compatible name and consolidate functions in SM4450
pinctrl dt-bindings document.

Signed-off-by: Tengfei Fan <[email protected]>
---

Tengfei Fan (2):
dt-bindings: pinctrl: qcom: modify the wrong compatible name
dt-bindings: pinctrl: qcom: consolidate functions

.../bindings/pinctrl/qcom,sm4450-tlmm.yaml | 53 +++++++------------
1 file changed, 18 insertions(+), 35 deletions(-)


base-commit: 774551425799cb5bbac94e1768fd69eec4f78dd4
--
2.17.1



2024-01-24 02:34:33

by Tengfei Fan

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name

Use right compatible name "qcom,sm4450-tlmm" instead of
"qcom,sm4450-pinctrl".

Signed-off-by: Tengfei Fan <[email protected]>
---
Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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
--
2.17.1


2024-01-24 03:33:43

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name

On Wed, 24 Jan 2024 at 04:33, Tengfei Fan <[email protected]> wrote:
>
> Use right compatible name "qcom,sm4450-tlmm" instead of
> "qcom,sm4450-pinctrl".
>
> Signed-off-by: Tengfei Fan <[email protected]>
> ---
> Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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

Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")

Reviewed-by: Dmitry Baryshkov <[email protected]>


>
> reg:
> maxItems: 1
> --
> 2.17.1
>
>


--
With best wishes
Dmitry

2024-01-24 06:38:48

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name

On 24/01/2024 03:33, Tengfei Fan wrote:
> Use right compatible name "qcom,sm4450-tlmm" instead of
> "qcom,sm4450-pinctrl".

Why do you claim this one is right and other is wrong? Provide
arguments. To me the compatible looks correct.

Best regards,
Krzysztof


2024-01-24 08:08:19

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name

On Wed, 24 Jan 2024 at 08:38, Krzysztof Kozlowski
<[email protected]> wrote:
>
> On 24/01/2024 03:33, Tengfei Fan wrote:
> > Use right compatible name "qcom,sm4450-tlmm" instead of
> > "qcom,sm4450-pinctrl".
>
> Why do you claim this one is right and other is wrong? Provide
> arguments. To me the compatible looks correct.

Yeah, but the driver (and the dtsi) use -tlmm


--
With best wishes
Dmitry

2024-01-24 08:46:43

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name

On 24/01/2024 09:07, Dmitry Baryshkov wrote:
> On Wed, 24 Jan 2024 at 08:38, Krzysztof Kozlowski
> <[email protected]> wrote:
>>
>> On 24/01/2024 03:33, Tengfei Fan wrote:
>>> Use right compatible name "qcom,sm4450-tlmm" instead of
>>> "qcom,sm4450-pinctrl".
>>
>> Why do you claim this one is right and other is wrong? Provide
>> arguments. To me the compatible looks correct.
>
> Yeah, but the driver (and the dtsi) use -tlmm

Are they merged? If so, it would be the argument for the commit msg.
Just provide some rationale why this is done this way, not the other
(fixing driver and DTS).

Best regards,
Krzysztof


2024-01-25 01:19:08

by Tengfei Fan

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name



On 1/24/2024 11:33 AM, Dmitry Baryshkov wrote:
> On Wed, 24 Jan 2024 at 04:33, Tengfei Fan <[email protected]> wrote:
>>
>> Use right compatible name "qcom,sm4450-tlmm" instead of
>> "qcom,sm4450-pinctrl".
>>
>> Signed-off-by: Tengfei Fan <[email protected]>
>> ---
>> Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> 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
>
> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>
> Reviewed-by: Dmitry Baryshkov <[email protected]>

Thanks Dmitry. I will inside this "Fixes" tage into commit message in
the next patch series.

>
>
>>
>> reg:
>> maxItems: 1
>> --
>> 2.17.1
>>
>>
>
>
> --
> With best wishes
> Dmitry

--
Thx and BRs,
Tengfei Fan

2024-01-25 01:21:10

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name

On Thu, 25 Jan 2024 at 03:18, Tengfei Fan <[email protected]> wrote:
>
>
>
> On 1/24/2024 11:33 AM, Dmitry Baryshkov wrote:
> > On Wed, 24 Jan 2024 at 04:33, Tengfei Fan <[email protected]> wrote:
> >>
> >> Use right compatible name "qcom,sm4450-tlmm" instead of
> >> "qcom,sm4450-pinctrl".
> >>
> >> Signed-off-by: Tengfei Fan <[email protected]>
> >> ---
> >> Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> 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
> >
> > Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
> >
> > Reviewed-by: Dmitry Baryshkov <[email protected]>
>
> Thanks Dmitry. I will inside this "Fixes" tage into commit message in
> the next patch series.

No need to, unless there are other changes to the patches. Such
trailers are picked up automatically.

>
> >
> >
> >>
> >> reg:
> >> maxItems: 1
> >> --
> >> 2.17.1
> >>
> >>
> >
> >
> > --
> > With best wishes
> > Dmitry
>
> --
> Thx and BRs,
> Tengfei Fan



--
With best wishes
Dmitry

2024-01-25 01:27:31

by Tengfei Fan

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name



On 1/24/2024 4:46 PM, Krzysztof Kozlowski wrote:
> On 24/01/2024 09:07, Dmitry Baryshkov wrote:
>> On Wed, 24 Jan 2024 at 08:38, Krzysztof Kozlowski
>> <[email protected]> wrote:
>>>
>>> On 24/01/2024 03:33, Tengfei Fan wrote:
>>>> Use right compatible name "qcom,sm4450-tlmm" instead of
>>>> "qcom,sm4450-pinctrl".
>>>
>>> Why do you claim this one is right and other is wrong? Provide
>>> arguments. To me the compatible looks correct.
>>
>> Yeah, but the driver (and the dtsi) use -tlmm
>
> Are they merged? If so, it would be the argument for the commit msg.
> Just provide some rationale why this is done this way, not the other
> (fixing driver and DTS).
>
> Best regards,
> Krzysztof
>

This commit message is causing some confusion. I will update this commit
messge for just provide retionale why is this patch needed.

--
Thx and BRs,
Tengfei Fan

2024-01-25 01:37:48

by Tengfei Fan

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: modify the wrong compatible name



On 1/25/2024 9:20 AM, Dmitry Baryshkov wrote:
> On Thu, 25 Jan 2024 at 03:18, Tengfei Fan <[email protected]> wrote:
>>
>>
>>
>> On 1/24/2024 11:33 AM, Dmitry Baryshkov wrote:
>>> On Wed, 24 Jan 2024 at 04:33, Tengfei Fan <[email protected]> wrote:
>>>>
>>>> Use right compatible name "qcom,sm4450-tlmm" instead of
>>>> "qcom,sm4450-pinctrl".
>>>>
>>>> Signed-off-by: Tengfei Fan <[email protected]>
>>>> ---
>>>> Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> 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
>>>
>>> Fixes: 7bf8b78f86db ("dt-bindings: pinctrl: qcom: Add SM4450 pinctrl")
>>>
>>> Reviewed-by: Dmitry Baryshkov <[email protected]>
>>
>> Thanks Dmitry. I will inside this "Fixes" tage into commit message in
>> the next patch series.
>
> No need to, unless there are other changes to the patches. Such
> trailers are picked up automatically.

Thank you for the heads-up.

>
>>
>>>
>>>
>>>>
>>>> reg:
>>>> maxItems: 1
>>>> --
>>>> 2.17.1
>>>>
>>>>
>>>
>>>
>>> --
>>> With best wishes
>>> Dmitry
>>
>> --
>> Thx and BRs,
>> Tengfei Fan
>
>
>

--
Thx and BRs,
Tengfei Fan