[PATCH] arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size

Francesco Dolcini posted 1 patch 1 week, 3 days ago
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 41 +++-------------------
1 file changed, 5 insertions(+), 36 deletions(-)
[PATCH] arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size
Posted by Francesco Dolcini 1 week, 3 days ago
From: Francesco Dolcini <francesco.dolcini@toradex.com>

gpio-line-names sized main_gpio0/main_gpio1 for 87/88 lines, the SoC's
ti,ngpio values before they were corrected to 92/52 in commit
28c8f2189d80 ("arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT"),
four months before this file was written. Resize both arrays to match,
keeping every existing label at its original index.

Fixes: 316b80246b16 ("arm64: dts: ti: add verdin am62")
Assisted-by: LLM
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 41 +++-------------------
 1 file changed, 5 insertions(+), 36 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
index 895b1b7dcac7..042124828095 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
@@ -1012,6 +1012,11 @@ &main_gpio0 {
 		"",
 		"",
 		"",
+		"",
+		"",
+		"",
+		"",
+		"", /* 90 */
 		"";
 };
 
@@ -1068,42 +1073,6 @@ &main_gpio1 {
 		"",
 		"SODIMM_17",
 		"SODIMM_155", /* 50 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"", /* 60 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"", /* 70 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"", /* 80 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
 		"";
 };
 
-- 
2.47.3
Re: [PATCH] arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size
Posted by Nishanth Menon 2 days, 18 hours ago
Hi Francesco Dolcini,

On Mon, 14 Sep 2026 21:09:42 +0200, Francesco Dolcini wrote:
> gpio-line-names sized main_gpio0/main_gpio1 for 87/88 lines, the SoC's
> ti,ngpio values before they were corrected to 92/52 in commit
> 28c8f2189d80 ("arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT"),
> four months before this file was written. Resize both arrays to match,
> keeping every existing label at its original index.
> 
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].

I have assumed you'd not want this fix for ivy/zinnia which redefines
the gpio-line-names. Let me know if that is not the case or if additional
fixes are needed.

Thank you!

[1/1] arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size
      commit: 11a51e82e1f997975a28358a1dcffec190ea7282

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource
Re: [PATCH] arm64: dts: ti: k3-am62-verdin: fix main_gpio0/main_gpio1 line names size
Posted by Francesco Dolcini 2 days, 18 hours ago
Hello Nishanth,

On Tue, Sep 22, 2026 at 09:29:48AM -0500, Nishanth Menon wrote:
> On Mon, 14 Sep 2026 21:09:42 +0200, Francesco Dolcini wrote:
> > gpio-line-names sized main_gpio0/main_gpio1 for 87/88 lines, the SoC's
> > ti,ngpio values before they were corrected to 92/52 in commit
> > 28c8f2189d80 ("arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT"),
> > four months before this file was written. Resize both arrays to match,
> > keeping every existing label at its original index.
> > 
> > 
> > [...]
> 
> I have applied the following to branch ti-k3-dts-next on [1].
> 
> I have assumed you'd not want this fix for ivy/zinnia which redefines
> the gpio-line-names. Let me know if that is not the case or if additional
> fixes are needed.

I missed them, I'll send 2 more patches to fix it.  Thanks for the
head-up, appreciated.

Francesco