mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes.
@ 2023-10-25 11:02 Nitin Yadav
  2023-10-25 12:43 ` Krzysztof Kozlowski
  2023-10-25 15:57 ` Nishanth Menon
  0 siblings, 2 replies; 5+ messages in thread
From: Nitin Yadav @ 2023-10-25 11:02 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh+dt, krzysztof.kozlowski+dt, conor+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel

Fix number of gpio pins in main_gpio0 & main_gpio1 DT nodes according
to AM62a SK datasheet. The Link of datasheet is in the following line:

https://www.ti.com/lit/gpn/am62a3

Section: 6.3.10 GPIO (Page No. 52-55)

Fixes: '5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")'

Signed-off-by: Nitin Yadav <n-yadav@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index 3198af08fb9f..de36abb243f1 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -462,7 +462,7 @@ main_gpio0: gpio@600000 {
 			     <193>, <194>, <195>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		ti,ngpio = <87>;
+		ti,ngpio = <92>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
 		clocks = <&k3_clks 77 0>;
@@ -480,7 +480,7 @@ main_gpio1: gpio@601000 {
 			     <183>, <184>, <185>;
 		interrupt-controller;
 		#interrupt-cells = <2>;
-		ti,ngpio = <88>;
+		ti,ngpio = <52>;
 		ti,davinci-gpio-unbanked = <0>;
 		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
 		clocks = <&k3_clks 78 0>;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes.
  2023-10-25 11:02 [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes Nitin Yadav
@ 2023-10-25 12:43 ` Krzysztof Kozlowski
  2023-10-25 15:57 ` Nishanth Menon
  1 sibling, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-25 12:43 UTC (permalink / raw)
  To: Nitin Yadav, nm, vigneshr, kristo, robh+dt,
	krzysztof.kozlowski+dt, conor+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel

On 25/10/2023 13:02, Nitin Yadav wrote:
> Fix number of gpio pins in main_gpio0 & main_gpio1 DT nodes according
> to AM62a SK datasheet. The Link of datasheet is in the following line:
> 
> https://www.ti.com/lit/gpn/am62a3
> 
> Section: 6.3.10 GPIO (Page No. 52-55)
> 
> Fixes: '5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")'
> 

No line breaks between tags.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes.
  2023-10-25 11:02 [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes Nitin Yadav
  2023-10-25 12:43 ` Krzysztof Kozlowski
@ 2023-10-25 15:57 ` Nishanth Menon
  2023-10-26  6:47   ` Nitin Yadav
  1 sibling, 1 reply; 5+ messages in thread
From: Nishanth Menon @ 2023-10-25 15:57 UTC (permalink / raw)
  To: Nitin Yadav
  Cc: vigneshr, kristo, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	linux-arm-kernel, devicetree, linux-kernel

On 16:32-20231025, Nitin Yadav wrote:
> Fix number of gpio pins in main_gpio0 & main_gpio1 DT nodes according
> to AM62a SK datasheet. The Link of datasheet is in the following line:

SK? line?

Please rephrase above and just mention the section of the data sheet to
refer to.

> 
> https://www.ti.com/lit/gpn/am62a3
> 
> Section: 6.3.10 GPIO (Page No. 52-55)

> 
> Fixes: '5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")'

What is the single quote for?
Also note the additional comment in the list to drop the extra EoL.


Did you check the MCU and WKUP GPIO count as well? if there are bugs
around it, fix it in a single commit please.

> 
> Signed-off-by: Nitin Yadav <n-yadav@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
> index 3198af08fb9f..de36abb243f1 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
> @@ -462,7 +462,7 @@ main_gpio0: gpio@600000 {
>  			     <193>, <194>, <195>;
>  		interrupt-controller;
>  		#interrupt-cells = <2>;
> -		ti,ngpio = <87>;
> +		ti,ngpio = <92>;
>  		ti,davinci-gpio-unbanked = <0>;
>  		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
>  		clocks = <&k3_clks 77 0>;
> @@ -480,7 +480,7 @@ main_gpio1: gpio@601000 {
>  			     <183>, <184>, <185>;
>  		interrupt-controller;
>  		#interrupt-cells = <2>;
> -		ti,ngpio = <88>;
> +		ti,ngpio = <52>;
>  		ti,davinci-gpio-unbanked = <0>;
>  		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
>  		clocks = <&k3_clks 78 0>;
> -- 
> 2.25.1
> 

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes.
  2023-10-25 15:57 ` Nishanth Menon
@ 2023-10-26  6:47   ` Nitin Yadav
  2023-10-26 11:35     ` Nishanth Menon
  0 siblings, 1 reply; 5+ messages in thread
From: Nitin Yadav @ 2023-10-26  6:47 UTC (permalink / raw)
  To: Nishanth Menon
  Cc: vigneshr, kristo, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	linux-arm-kernel, devicetree, linux-kernel



On 25/10/23 21:27, Nishanth Menon wrote:
> On 16:32-20231025, Nitin Yadav wrote:
>> Fix number of gpio pins in main_gpio0 & main_gpio1 DT nodes according
>> to AM62a SK datasheet. The Link of datasheet is in the following line:
> 
> SK? line?
> 
> Please rephrase above and just mention the section of the data sheet to
> refer to.
> 
>>
>> https://www.ti.com/lit/gpn/am62a3
>>
>> Section: 6.3.10 GPIO (Page No. 52-55)
> 
>>
>> Fixes: '5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")'
> 
> What is the single quote for?
> Also note the additional comment in the list to drop the extra EoL.
> 
> 
> Did you check the MCU and WKUP GPIO count as well? if there are bugs
> around it, fix it in a single commit please.
yes, checked they are good.
> 
>>
>> Signed-off-by: Nitin Yadav <n-yadav@ti.com>
>> ---
>>  arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
>> index 3198af08fb9f..de36abb243f1 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
>> +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
>> @@ -462,7 +462,7 @@ main_gpio0: gpio@600000 {
>>  			     <193>, <194>, <195>;
>>  		interrupt-controller;
>>  		#interrupt-cells = <2>;
>> -		ti,ngpio = <87>;
>> +		ti,ngpio = <92>;
>>  		ti,davinci-gpio-unbanked = <0>;
>>  		power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
>>  		clocks = <&k3_clks 77 0>;
>> @@ -480,7 +480,7 @@ main_gpio1: gpio@601000 {
>>  			     <183>, <184>, <185>;
>>  		interrupt-controller;
>>  		#interrupt-cells = <2>;
>> -		ti,ngpio = <88>;
>> +		ti,ngpio = <52>;
>>  		ti,davinci-gpio-unbanked = <0>;
>>  		power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
>>  		clocks = <&k3_clks 78 0>;
>> -- 
>> 2.25.1
>>
> 

-- 
Regards,
Nitin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes.
  2023-10-26  6:47   ` Nitin Yadav
@ 2023-10-26 11:35     ` Nishanth Menon
  0 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2023-10-26 11:35 UTC (permalink / raw)
  To: Nitin Yadav
  Cc: vigneshr, kristo, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	linux-arm-kernel, devicetree, linux-kernel

On 12:17-20231026, Nitin Yadav wrote:
> On 25/10/23 21:27, Nishanth Menon wrote:
> > On 16:32-20231025, Nitin Yadav wrote:
> >> Fix number of gpio pins in main_gpio0 & main_gpio1 DT nodes according
> >> to AM62a SK datasheet. The Link of datasheet is in the following line:
> > 
> > SK? line?
> > 
> > Please rephrase above and just mention the section of the data sheet to
> > refer to.
> > 
> >>
> >> https://www.ti.com/lit/gpn/am62a3
> >>
> >> Section: 6.3.10 GPIO (Page No. 52-55)
> > 
> >>
> >> Fixes: '5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")'
> > 
> > What is the single quote for?
> > Also note the additional comment in the list to drop the extra EoL.
> > 
> > 
> > Did you check the MCU and WKUP GPIO count as well? if there are bugs
> > around it, fix it in a single commit please.
> yes, checked they are good.

OK, Thanks for checking, please respin once rc1 is out.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-26 11:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-25 11:02 [PATCH] arm64: boot: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes Nitin Yadav
2023-10-25 12:43 ` Krzysztof Kozlowski
2023-10-25 15:57 ` Nishanth Menon
2023-10-26  6:47   ` Nitin Yadav
2023-10-26 11:35     ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®