Skip to contentSkip to conversation

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

PATCH Applied Francesco Dolcini 2 participants 3 messages Sep 14 – Sep 22

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

From: Francesco Dolcini <[email protected]>

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
---
 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 41 +++-------------------
 1 file changed, 5 insertions(+), 36 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi +5 -36
index 895b1b7dcac7..042124828095 100644
@@ -1012,6 +1012,11 @@ &main_gpio0 {
 		"",
 		"",
 		"",
+		"",
+		"",
+		"",
+		"",
+		"", /* 90 */
 		"";
 };
 
@@ -1068,42 +1073,6 @@ &main_gpio1 {
 		"",
 		"SODIMM_17",
 		"SODIMM_155", /* 50 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"", /* 60 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"", /* 70 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
-		"", /* 80 */
-		"",
-		"",
-		"",
-		"",
-		"",
-		"",
 		"";
 };
 
Signature · 1 line
2.47.3
maintainer Applied
#1 lore raw

Hi Francesco Dolcini,

Quoted 8 lines · Francesco Dolcini

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

Signature · 4 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource
#2 lore raw

Hello Nishanth,

Quoted 8 lines · Nishanth Menon
Quoted 7 lines · Francesco Dolcini

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.

Quoted 7 lines
Quoted 1 line

[...]

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