All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: helios5: sort pins alphabetically
@ 2026-11-28  6:49 Rosen Penev
  0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-11-28  6:49 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Andrew Lunn, Gregory Clement, Sebastian Hesselbarth, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

Rename some pins to have helios prefixes for consistency.

Also use hyphens in fan pinctrl node names.

dtc W=1 warns about the underscores in the fan pinctrl group node
names:

  Warning (node_name_chars_strict): .../helios_fan1_pins: Character '_' not recommended in node name

Use hyphens like every other pin group in this file. The labels are
unchanged, so no references need updating.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 v2: sort pins alphabetically instead of just fixing fan1 pins
 .../boot/dts/marvell/armada-388-helios4.dts   | 38 +++++++++----------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/arch/arm/boot/dts/marvell/armada-388-helios4.dts b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
index d4ed47ae73c5..50a80ae659c4 100644
--- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
@@ -164,7 +164,7 @@ expander0: gpio-expander@20 {
 					reg = <0x20>;
 					vcc-supply = <&reg_3p3v>;
 					pinctrl-names = "default";
-					pinctrl-0 = <&pca0_pins>;
+					pinctrl-0 = <&helios_pca0_pins>;
 					interrupt-parent = <&gpio0>;
 					interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
 					interrupt-controller;
@@ -268,18 +268,32 @@ usb3@f8000 {
 			};
 
 			pinctrl@18000 {
-				pca0_pins: pca0-pins {
-					marvell,pins = "mpp23";
+				helios_fan1_pins: helios-fan1-pins {
+					marvell,pins = "mpp41", "mpp43";
 					marvell,function = "gpio";
 				};
-				microsom_phy0_int_pins: microsom-phy0-int-pins {
-					marvell,pins = "mpp18";
+				helios_fan2_pins: helios-fan2-pins {
+					marvell,pins = "mpp48", "mpp55";
 					marvell,function = "gpio";
 				};
 				helios_i2c1_pins: i2c1-pins {
 					marvell,pins = "mpp26", "mpp27";
 					marvell,function = "i2c1";
 				};
+				helios_io_led_pins: helios-io-led-pins {
+					marvell,pins = "mpp49", "mpp50",
+						       "mpp52", "mpp53",
+						       "mpp54";
+					marvell,function = "gpio";
+				};
+				helios_pca0_pins: pca0-pins {
+					marvell,pins = "mpp23";
+					marvell,function = "gpio";
+				};
+				helios_phy0_int_pins: microsom-phy0-int-pins {
+					marvell,pins = "mpp18";
+					marvell,function = "gpio";
+				};
 				helios_sdhci_cd_pins: helios-sdhci-cd-pins {
 					marvell,pins = "mpp20";
 					marvell,function = "gpio";
@@ -294,20 +308,6 @@ helios_system_led_pins: helios-system-led-pins {
 					marvell,pins = "mpp24", "mpp25";
 					marvell,function = "gpio";
 				};
-				helios_io_led_pins: helios-io-led-pins {
-					marvell,pins = "mpp49", "mpp50",
-						       "mpp52", "mpp53",
-						       "mpp54";
-					marvell,function = "gpio";
-				};
-				helios_fan1_pins: helios_fan1_pins {
-					marvell,pins = "mpp41", "mpp43";
-					marvell,function = "gpio";
-				};
-				helios_fan2_pins: helios_fan2_pins {
-					marvell,pins = "mpp48", "mpp55";
-					marvell,function = "gpio";
-				};
 			};
 		};
 	};
-- 
2.56.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-28  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28  6:49 [PATCH v2] ARM: dts: helios5: sort pins alphabetically Rosen Penev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.