linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] TQMa93xx fixes
@ 2025-01-07 14:11 Alexander Stein
  2025-01-07 14:11 ` [PATCH 1/3] arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes Alexander Stein
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Alexander Stein @ 2025-01-07 14:11 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

Hi,

this series includes small fixes to TQMa93xx DT:
* Sorting DT nodes alphabetically
* Invert default for Powerdown/Disables on Mini-PCIe slot
* Swap order of ethernet devices

Alexander Stein (3):
  arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes
  arm64: dts: mba93xxca: Do not assert power-down pins
  arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases

 .../freescale/imx93-tqma9352-mba93xxca.dts    | 54 +++++++++----------
 .../freescale/imx93-tqma9352-mba93xxla.dts    |  6 +--
 2 files changed, 30 insertions(+), 30 deletions(-)

-- 
2.34.1



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

* [PATCH 1/3] arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes
  2025-01-07 14:11 [PATCH 0/3] TQMa93xx fixes Alexander Stein
@ 2025-01-07 14:11 ` Alexander Stein
  2025-01-07 14:11 ` [PATCH 2/3] arm64: dts: mba93xxca: Do not assert power-down pins Alexander Stein
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2025-01-07 14:11 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

Sort the entries alphabetically.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 .../freescale/imx93-tqma9352-mba93xxca.dts    | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
index 8e939d716aac8..861a028a1b165 100644
--- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
@@ -755,12 +755,6 @@ MX93_PAD_GPIO_IO03__LPSPI6_SCK			0x051e
 		>;
 	};
 
-	pinctrl_pcf85063: pcf85063grp {
-		fsl,pins = <
-			MX93_PAD_SAI1_RXD0__GPIO1_IO14			0x1000
-		>;
-	};
-
 	pinctrl_mipi_csi: mipicsigrp {
 		fsl,pins = <
 			MX93_PAD_CCM_CLKO3__CCMSRCGPCMIX_CLKO3		0x051e /* MCLK */
@@ -769,6 +763,12 @@ MX93_PAD_GPIO_IO11__GPIO2_IO11			0x1400 /* SYNC */
 		>;
 	};
 
+	pinctrl_pcf85063: pcf85063grp {
+		fsl,pins = <
+			MX93_PAD_SAI1_RXD0__GPIO1_IO14			0x1000
+		>;
+	};
+
 	pinctrl_pexp_irq: pexpirqgrp {
 		fsl,pins = <
 			/* HYS | FSEL_0 | No DSE */
@@ -783,17 +783,17 @@ MX93_PAD_GPIO_IO09__GPIO2_IO09			0x1200
 		>;
 	};
 
-	pinctrl_temp_sensor_som: tempsensorsomgrp {
+	pinctrl_tc9595: tc9595-grp {
 		fsl,pins = <
-			/* HYS | FSEL_0 | no DSE */
-			MX93_PAD_SAI1_TXFS__GPIO1_IO11			0x1000
+			/* HYS | PD | FSEL_0 | no DSE */
+			MX93_PAD_CCM_CLKO4__GPIO4_IO29			0x1400
 		>;
 	};
 
-	pinctrl_tc9595: tc9595-grp {
+	pinctrl_temp_sensor_som: tempsensorsomgrp {
 		fsl,pins = <
-			/* HYS | PD | FSEL_0 | no DSE */
-			MX93_PAD_CCM_CLKO4__GPIO4_IO29			0x1400
+			/* HYS | FSEL_0 | no DSE */
+			MX93_PAD_SAI1_TXFS__GPIO1_IO11			0x1000
 		>;
 	};
 
-- 
2.34.1



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

* [PATCH 2/3] arm64: dts: mba93xxca: Do not assert power-down pins
  2025-01-07 14:11 [PATCH 0/3] TQMa93xx fixes Alexander Stein
  2025-01-07 14:11 ` [PATCH 1/3] arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes Alexander Stein
@ 2025-01-07 14:11 ` Alexander Stein
  2025-01-07 14:11 ` [PATCH 3/3] arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases Alexander Stein
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2025-01-07 14:11 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

Change the output to inactive (output-low) for active-low pins, resulting
in high-voltage of power-down pins. Thus this enables the attached
devices.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 .../freescale/imx93-tqma9352-mba93xxca.dts    | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
index 861a028a1b165..b8ccc946c62d7 100644
--- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
@@ -448,38 +448,38 @@ expander1: gpio@71 {
 				  "WLAN_PERST#", "12V_EN";
 
 		/*
-		 * Controls the WiFi card PD pin which is low active
-		 * as power down signal. The output-high states, the signal
-		 * is active, e.g. card is powered down
+		 * Controls the WiFi card's low-active power down pin.
+		 * The output-low states, the signal is inactive,
+		 * resulting in high signal at power-down pin
 		 */
 		wlan-pd-hog {
 			gpio-hog;
 			gpios = <4 GPIO_ACTIVE_LOW>;
-			output-high;
+			output-low;
 			line-name = "WLAN_PD#";
 		};
 
 		/*
-		 * Controls the WiFi card disable pin which is low active
-		 * as disable signal. The output-high states, the signal
-		 * is active, e.g. card is disabled
+		 * Controls the WiFi card's low-active disable pin.
+		 * The output-low states, the signal is inactive,
+		 * resulting in high signal at power-down pin
 		 */
 		wlan-wdisable-hog {
 			gpio-hog;
 			gpios = <5 GPIO_ACTIVE_LOW>;
-			output-high;
+			output-low;
 			line-name = "WLAN_W_DISABLE#";
 		};
 
 		/*
-		 * Controls the WiFi card reset pin which is low active
-		 * as reset signal. The output-high states, the signal
-		 * is active, e.g. card in reset
+		 * Controls the WiFi card's reset pin.
+		 * The output-low states, the signal is inactive,
+		 * resulting in high signal at power-down pin
 		 */
 		wlan-perst-hog {
 			gpio-hog;
 			gpios = <6 GPIO_ACTIVE_LOW>;
-			output-high;
+			output-low;
 			line-name = "WLAN_PERST#";
 		};
 	};
-- 
2.34.1



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

* [PATCH 3/3] arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases
  2025-01-07 14:11 [PATCH 0/3] TQMa93xx fixes Alexander Stein
  2025-01-07 14:11 ` [PATCH 1/3] arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes Alexander Stein
  2025-01-07 14:11 ` [PATCH 2/3] arm64: dts: mba93xxca: Do not assert power-down pins Alexander Stein
@ 2025-01-07 14:11 ` Alexander Stein
  2025-02-07 13:53 ` [PATCH 0/3] TQMa93xx fixes Alexander Stein
  2025-02-18  5:35 ` Shawn Guo
  4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2025-01-07 14:11 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Alexander Stein, linux, devicetree, imx, linux-arm-kernel,
	linux-kernel

In mainboard schematics ENET1 is eqos and ENET2 is fec.
This is reversed to standard aliases using base addresses for ordering.
Adjust aliases for all mainboards accordingly.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts | 6 +++---
 arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
index b8ccc946c62d7..ebbac5f8d2b2d 100644
--- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxca.dts
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
 /*
- * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>,
  * D-82229 Seefeld, Germany.
  * Author: Markus Niebel
  * Author: Alexander Stein
@@ -26,8 +26,8 @@ chosen {
 
 	aliases {
 		eeprom0 = &eeprom0;
-		ethernet0 = &fec;
-		ethernet1 = &eqos;
+		ethernet0 = &eqos;
+		ethernet1 = &fec;
 		rtc0 = &pcf85063;
 		rtc1 = &bbnsm_rtc;
 	};
diff --git a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts
index 2e953a05c590e..9e88c42c3d170 100644
--- a/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla.dts
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
 /*
- * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
+ * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>,
  * D-82229 Seefeld, Germany.
  * Author: Markus Niebel
  * Author: Alexander Stein
@@ -26,8 +26,8 @@ chosen {
 
 	aliases {
 		eeprom0 = &eeprom0;
-		ethernet0 = &fec;
-		ethernet1 = &eqos;
+		ethernet0 = &eqos;
+		ethernet1 = &fec;
 		rtc0 = &pcf85063;
 		rtc1 = &bbnsm_rtc;
 	};
-- 
2.34.1



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

* Re: [PATCH 0/3] TQMa93xx fixes
  2025-01-07 14:11 [PATCH 0/3] TQMa93xx fixes Alexander Stein
                   ` (2 preceding siblings ...)
  2025-01-07 14:11 ` [PATCH 3/3] arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases Alexander Stein
@ 2025-02-07 13:53 ` Alexander Stein
  2025-02-18  5:35 ` Shawn Guo
  4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2025-02-07 13:53 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: linux, devicetree, imx, linux-arm-kernel, linux-kernel

Hello,

Am Dienstag, 7. Januar 2025, 15:11:14 CET schrieb Alexander Stein:
> Hi,
> 
> this series includes small fixes to TQMa93xx DT:
> * Sorting DT nodes alphabetically
> * Invert default for Powerdown/Disables on Mini-PCIe slot
> * Swap order of ethernet devices
> 
> Alexander Stein (3):
>   arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes
>   arm64: dts: mba93xxca: Do not assert power-down pins
>   arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases
> 
>  .../freescale/imx93-tqma9352-mba93xxca.dts    | 54 +++++++++----------
>  .../freescale/imx93-tqma9352-mba93xxla.dts    |  6 +--
>  2 files changed, 30 insertions(+), 30 deletions(-)

Any comment on this series? Thanks

Best regards,
Alexander
-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/




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

* Re: [PATCH 0/3] TQMa93xx fixes
  2025-01-07 14:11 [PATCH 0/3] TQMa93xx fixes Alexander Stein
                   ` (3 preceding siblings ...)
  2025-02-07 13:53 ` [PATCH 0/3] TQMa93xx fixes Alexander Stein
@ 2025-02-18  5:35 ` Shawn Guo
  4 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2025-02-18  5:35 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, linux,
	devicetree, imx, linux-arm-kernel, linux-kernel

On Tue, Jan 07, 2025 at 03:11:14PM +0100, Alexander Stein wrote:
> Alexander Stein (3):
>   arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes
>   arm64: dts: mba93xxca: Do not assert power-down pins
>   arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases

Applied all, thanks!



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

end of thread, other threads:[~2025-02-18  5:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 14:11 [PATCH 0/3] TQMa93xx fixes Alexander Stein
2025-01-07 14:11 ` [PATCH 1/3] arm64: dts: freescale: imx93-tqma9352-mba93xxca: sort pinctrl nodes Alexander Stein
2025-01-07 14:11 ` [PATCH 2/3] arm64: dts: mba93xxca: Do not assert power-down pins Alexander Stein
2025-01-07 14:11 ` [PATCH 3/3] arm64: dts: tqma9352-mba93xx[cl]a: swap ethernet aliases Alexander Stein
2025-02-07 13:53 ` [PATCH 0/3] TQMa93xx fixes Alexander Stein
2025-02-18  5:35 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).