2023-04-07 18:17:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

Fix typo in drive-strength property name.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
index a1db3cf80c47..bdcba719fc38 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
@@ -1428,7 +1428,7 @@ oe-n-pins {
pins = "gpio101";
function = "gpio";
bias-disable;
- drive-strengh = <16>;
+ drive-strength = <16>;
output-high;
};

@@ -1445,7 +1445,7 @@ oe-n-pins {
pins = "gpio48";
function = "gpio";
bias-disable;
- drive-strengh = <16>;
+ drive-strength = <16>;
output-high;
};

--
2.34.1


2023-04-07 19:13:18

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On Fri, 7 Apr 2023 20:07:10 +0200, Krzysztof Kozlowski wrote:
> Fix typo in drive-strength property name.
>
>

Applied, thanks!

[1/1] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength
commit: 47ce7e168486de0a581f5903e72ba2cbc68123ec

Best regards,
--
Bjorn Andersson <[email protected]>

2023-04-11 14:27:55

by Johan Hovold

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
> Fix typo in drive-strength property name.

In the future, please try to use the established commit-summary prefix.
In this case:

arm64: dts: qcom: sc8280xp-x13s:

Johan

2023-04-11 17:00:42

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On 11/04/2023 16:23, Johan Hovold wrote:
> On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
>> Fix typo in drive-strength property name.
>
> In the future, please try to use the established commit-summary prefix.
> In this case:
>
> arm64: dts: qcom: sc8280xp-x13s:

Sure.

commit ca1ce7207e53cfe69aee5002eb3795069668da53
Author: Johan Hovold <[email protected]>
Date: Fri Aug 5 11:23:17 2022 +0200

arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad


Best regards,
Krzysztof

2023-04-12 07:00:05

by Johan Hovold

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On Tue, Apr 11, 2023 at 06:58:33PM +0200, Krzysztof Kozlowski wrote:
> On 11/04/2023 16:23, Johan Hovold wrote:
> > On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
> >> Fix typo in drive-strength property name.
> >
> > In the future, please try to use the established commit-summary prefix.
> > In this case:
> >
> > arm64: dts: qcom: sc8280xp-x13s:
>
> Sure.
>
> commit ca1ce7207e53cfe69aee5002eb3795069668da53
> Author: Johan Hovold <[email protected]>
> Date: Fri Aug 5 11:23:17 2022 +0200
>
> arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad

Yeah, we initially used a longer prefix (including "x13s" which was
missing in the Subject of this patch), but quite soon decided on using
the shorter

arm64: dts: qcom: sc8280xp-x13s:

instead.

Johan

2023-04-12 07:07:43

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On 12/04/2023 08:49, Johan Hovold wrote:
> On Tue, Apr 11, 2023 at 06:58:33PM +0200, Krzysztof Kozlowski wrote:
>> On 11/04/2023 16:23, Johan Hovold wrote:
>>> On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
>>>> Fix typo in drive-strength property name.
>>>
>>> In the future, please try to use the established commit-summary prefix.
>>> In this case:
>>>
>>> arm64: dts: qcom: sc8280xp-x13s:
>>
>> Sure.
>>
>> commit ca1ce7207e53cfe69aee5002eb3795069668da53
>> Author: Johan Hovold <[email protected]>
>> Date: Fri Aug 5 11:23:17 2022 +0200
>>
>> arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad
>
> Yeah, we initially used a longer prefix (including "x13s" which was
> missing in the Subject of this patch), but quite soon decided on using
> the shorter
>
> arm64: dts: qcom: sc8280xp-x13s:
>
> instead.

Thanks. Do you know if this rule applies to other long-names? I was
usually keeping full name or shortening them by cutting end, but maybe I
should cut the middle?

sm8250-sony-xperia-edo-pdx206
sm8250-sony-xperia-edo
sm8250-pdx206

Best regards,
Krzysztof

2023-04-12 07:32:11

by Johan Hovold

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On Wed, Apr 12, 2023 at 09:03:31AM +0200, Krzysztof Kozlowski wrote:
> On 12/04/2023 08:49, Johan Hovold wrote:
> > On Tue, Apr 11, 2023 at 06:58:33PM +0200, Krzysztof Kozlowski wrote:
> >> On 11/04/2023 16:23, Johan Hovold wrote:
> >>> On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
> >>>> Fix typo in drive-strength property name.
> >>>
> >>> In the future, please try to use the established commit-summary prefix.
> >>> In this case:
> >>>
> >>> arm64: dts: qcom: sc8280xp-x13s:
> >>
> >> Sure.
> >>
> >> commit ca1ce7207e53cfe69aee5002eb3795069668da53
> >> Author: Johan Hovold <[email protected]>
> >> Date: Fri Aug 5 11:23:17 2022 +0200
> >>
> >> arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad
> >
> > Yeah, we initially used a longer prefix (including "x13s" which was
> > missing in the Subject of this patch), but quite soon decided on using
> > the shorter
> >
> > arm64: dts: qcom: sc8280xp-x13s:
> >
> > instead.
>
> Thanks. Do you know if this rule applies to other long-names? I was
> usually keeping full name or shortening them by cutting end, but maybe I
> should cut the middle?
>
> sm8250-sony-xperia-edo-pdx206
> sm8250-sony-xperia-edo
> sm8250-pdx206

I would not call it a rule just yet, but I guess there are further cases
were this could have been used. Perhaps you can all decide to use it for
the other Qualcomm dts as well.

For the X13s the, 'sc8280xp-x13s' is enough to uniquely define the
board and it mirrors 'sc8280xp-crd' (and using a shorter prefix makes
the commit logs easier to read).

The general suggestion is still to check 'git log --oneline' for the
files in question and use what appears to be the (recent) common prefix.

Johan

2023-04-12 07:39:02

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength



On 12.04.2023 09:19, Johan Hovold wrote:
> On Wed, Apr 12, 2023 at 09:03:31AM +0200, Krzysztof Kozlowski wrote:
>> On 12/04/2023 08:49, Johan Hovold wrote:
>>> On Tue, Apr 11, 2023 at 06:58:33PM +0200, Krzysztof Kozlowski wrote:
>>>> On 11/04/2023 16:23, Johan Hovold wrote:
>>>>> On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
>>>>>> Fix typo in drive-strength property name.
>>>>>
>>>>> In the future, please try to use the established commit-summary prefix.
>>>>> In this case:
>>>>>
>>>>> arm64: dts: qcom: sc8280xp-x13s:
>>>>
>>>> Sure.
>>>>
>>>> commit ca1ce7207e53cfe69aee5002eb3795069668da53
>>>> Author: Johan Hovold <[email protected]>
>>>> Date: Fri Aug 5 11:23:17 2022 +0200
>>>>
>>>> arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad
>>>
>>> Yeah, we initially used a longer prefix (including "x13s" which was
>>> missing in the Subject of this patch), but quite soon decided on using
>>> the shorter
>>>
>>> arm64: dts: qcom: sc8280xp-x13s:
>>>
>>> instead.
>>
>> Thanks. Do you know if this rule applies to other long-names? I was
>> usually keeping full name or shortening them by cutting end, but maybe I
>> should cut the middle?
>>
>> sm8250-sony-xperia-edo-pdx206
>> sm8250-sony-xperia-edo
>> sm8250-pdx206
I do sm8250-pdx206 or sm8250-edo for common dtsi changes

Generally anything that contains the SoC name and isn't ambiguous
works, IMO. And the more concise, the better.

Konrad
>
> I would not call it a rule just yet, but I guess there are further cases
> were this could have been used. Perhaps you can all decide to use it for
> the other Qualcomm dts as well.
>
> For the X13s the, 'sc8280xp-x13s' is enough to uniquely define the
> board and it mirrors 'sc8280xp-crd' (and using a shorter prefix makes
> the commit logs easier to read).
>
> The general suggestion is still to check 'git log --oneline' for the
> files in question and use what appears to be the (recent) common prefix.
>
> Johan

2023-04-13 08:54:55

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On 12/04/2023 09:19, Johan Hovold wrote:
> On Wed, Apr 12, 2023 at 09:03:31AM +0200, Krzysztof Kozlowski wrote:
>> On 12/04/2023 08:49, Johan Hovold wrote:
>>> On Tue, Apr 11, 2023 at 06:58:33PM +0200, Krzysztof Kozlowski wrote:
>>>> On 11/04/2023 16:23, Johan Hovold wrote:
>>>>> On Fri, Apr 07, 2023 at 08:07:10PM +0200, Krzysztof Kozlowski wrote:
>>>>>> Fix typo in drive-strength property name.
>>>>>
>>>>> In the future, please try to use the established commit-summary prefix.
>>>>> In this case:
>>>>>
>>>>> arm64: dts: qcom: sc8280xp-x13s:
>>>>
>>>> Sure.
>>>>
>>>> commit ca1ce7207e53cfe69aee5002eb3795069668da53
>>>> Author: Johan Hovold <[email protected]>
>>>> Date: Fri Aug 5 11:23:17 2022 +0200
>>>>
>>>> arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add alternate touchpad
>>>
>>> Yeah, we initially used a longer prefix (including "x13s" which was
>>> missing in the Subject of this patch), but quite soon decided on using
>>> the shorter
>>>
>>> arm64: dts: qcom: sc8280xp-x13s:
>>>
>>> instead.
>>
>> Thanks. Do you know if this rule applies to other long-names? I was
>> usually keeping full name or shortening them by cutting end, but maybe I
>> should cut the middle?
>>
>> sm8250-sony-xperia-edo-pdx206
>> sm8250-sony-xperia-edo
>> sm8250-pdx206
>
> I would not call it a rule just yet, but I guess there are further cases
> were this could have been used. Perhaps you can all decide to use it for
> the other Qualcomm dts as well.
>
> For the X13s the, 'sc8280xp-x13s' is enough to uniquely define the
> board and it mirrors 'sc8280xp-crd' (and using a shorter prefix makes
> the commit logs easier to read).
>
> The general suggestion is still to check 'git log --oneline' for the
> files in question and use what appears to be the (recent) common prefix.

I do it for subsystems, but I am not going to do it per file. Sorry, I
am sending way too many of them to keep also customizing them per each
file. If you wanted x13s prefix, then you would name the file like that.
If you named file differently, then apparently that's how you want it to
look.

Best regards,
Krzysztof

2023-04-13 08:56:29

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On 12/04/2023 09:22, Konrad Dybcio wrote:
>>>
>>> Thanks. Do you know if this rule applies to other long-names? I was
>>> usually keeping full name or shortening them by cutting end, but maybe I
>>> should cut the middle?
>>>
>>> sm8250-sony-xperia-edo-pdx206
>>> sm8250-sony-xperia-edo
>>> sm8250-pdx206
> I do sm8250-pdx206 or sm8250-edo for common dtsi changes
>
> Generally anything that contains the SoC name and isn't ambiguous
> works, IMO. And the more concise, the better.

You should have named the files like this...

Best regards,
Krzysztof

2023-04-13 09:17:08

by Johan Hovold

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength

On Thu, Apr 13, 2023 at 10:53:07AM +0200, Krzysztof Kozlowski wrote:
> On 12/04/2023 09:19, Johan Hovold wrote:

> > The general suggestion is still to check 'git log --oneline' for the
> > files in question and use what appears to be the (recent) common prefix.
>
> I do it for subsystems, but I am not going to do it per file. Sorry, I
> am sending way too many of them to keep also customizing them per each
> file.

Perhaps you should start grouping your patch bombs of identical changes
rather than send them per file if this is such a burden.

Either way, that is no excuse when changing a single file.

> If you wanted x13s prefix, then you would name the file like that.
> If you named file differently, then apparently that's how you want it to
> look.

No, that is not what we want. The git log tells you what we expect. And
the x13s prefix is there, you just randomly decided to drop it.

Johan