All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rosen Penev <rosenp@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
	FLATTENED DEVICE TREE BINDINGS)
Subject: [PATCH v2] ARM: dts: helios5: sort pins alphabetically
Date: Fri, 27 Nov 2026 22:49:38 -0800	[thread overview]
Message-ID: <20261128064938.9951-1-rosenp@gmail.com> (raw)

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


                 reply	other threads:[~2026-11-28  6:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128064938.9951-1-rosenp@gmail.com \
    --to=rosenp@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregory.clement@bootlin.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=sebastian.hesselbarth@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.