All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels
@ 2025-11-28 15:00 Vitor Soares
  2025-11-28 15:00 ` [PATCH v1 1/2] arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for ethphy1 interrupt Vitor Soares
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vitor Soares @ 2025-11-28 15:00 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Vitor Soares, devicetree, imx, linux-arm-kernel, linux-kernel,
	ivitro

From: Vitor Soares <vitor.soares@toradex.com>

This series fixes the ethphy1 interrupt configuration and corrects GPIO
expander line names for the i.MX95 Toradex SMARC.

The first patch changes the interrupt trigger type from level-triggered
to edge-triggered to match the PCA9745 GPIO expander hardware
capabilities.

The second patch fixes the SMARC_SDIO_WP gpio-line-name position to
line 15.

Vitor Soares (2):
  arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for
    ethphy1 interrupt
  arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label
    position

 arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

-- 
2.51.0


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

* [PATCH v1 1/2] arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for ethphy1 interrupt
  2025-11-28 15:00 [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Vitor Soares
@ 2025-11-28 15:00 ` Vitor Soares
  2025-11-28 15:00 ` [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label position Vitor Soares
  2025-12-29 13:14 ` [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Vitor Soares @ 2025-11-28 15:00 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Vitor Soares, devicetree, imx, linux-arm-kernel, linux-kernel,
	ivitro

From: Vitor Soares <vitor.soares@toradex.com>

Change the PHY interrupt trigger type from IRQ_TYPE_LEVEL_LOW to
IRQ_TYPE_EDGE_FALLING to match the PCA9745 GPIO expander hardware
capabilities and avoid emulated level detection.

Fixes: 90bbe88e0ea6 ("arm64: dts: freescale: add Toradex SMARC iMX95")
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi b/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
index afbdadcb3686..2cbd5606cb19 100644
--- a/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
@@ -582,7 +582,7 @@ &netc_emdio {
 	ethphy1: ethernet-phy@1 {
 		reg = <1>;
 		interrupt-parent = <&som_gpio_expander_1>;
-		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
+		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 		ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 	};
-- 
2.51.0


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

* [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label position
  2025-11-28 15:00 [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Vitor Soares
  2025-11-28 15:00 ` [PATCH v1 1/2] arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for ethphy1 interrupt Vitor Soares
@ 2025-11-28 15:00 ` Vitor Soares
  2025-12-29 13:14 ` [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Vitor Soares @ 2025-11-28 15:00 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Vitor Soares, devicetree, imx, linux-arm-kernel, linux-kernel,
	ivitro

From: Vitor Soares <vitor.soares@toradex.com>

Fix the SMARC_SDIO_WP gpio-line-name position. It should be on line 15
of som_gpio_expander_1, not line 17.

Fixes: 90bbe88e0ea6 ("arm64: dts: freescale: add Toradex SMARC iMX95")
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi b/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
index 2cbd5606cb19..115a16e44a99 100644
--- a/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi
@@ -406,8 +406,6 @@ som_gpio_expander_1: gpio@21 {
 			"",
 			"",
 			"",
-			"",
-			"",
 			"SMARC_SDIO_WP";
 	};
 
-- 
2.51.0


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

* Re: [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels
  2025-11-28 15:00 [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Vitor Soares
  2025-11-28 15:00 ` [PATCH v1 1/2] arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for ethphy1 interrupt Vitor Soares
  2025-11-28 15:00 ` [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label position Vitor Soares
@ 2025-12-29 13:14 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2025-12-29 13:14 UTC (permalink / raw)
  To: Vitor Soares
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Vitor Soares, devicetree,
	imx, linux-arm-kernel, linux-kernel

On Fri, Nov 28, 2025 at 03:00:26PM +0000, Vitor Soares wrote:
> From: Vitor Soares <vitor.soares@toradex.com>
> 
> This series fixes the ethphy1 interrupt configuration and corrects GPIO
> expander line names for the i.MX95 Toradex SMARC.
> 
> The first patch changes the interrupt trigger type from level-triggered
> to edge-triggered to match the PCA9745 GPIO expander hardware
> capabilities.
> 
> The second patch fixes the SMARC_SDIO_WP gpio-line-name position to
> line 15.
> 
> Vitor Soares (2):
>   arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for
>     ethphy1 interrupt
>   arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label
>     position

Applied both, thanks!

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

end of thread, other threads:[~2025-12-29 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28 15:00 [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Vitor Soares
2025-11-28 15:00 ` [PATCH v1 1/2] arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for ethphy1 interrupt Vitor Soares
2025-11-28 15:00 ` [PATCH v1 2/2] arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label position Vitor Soares
2025-12-29 13:14 ` [PATCH v1 0/2] arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels Shawn Guo

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.