Skip to contentSkip to conversation

Patch "ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Feb 24, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-dts-at91-sama5d4-xplained-properly-mux-phy-interrupt.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From f505dba762ae826bb68978a85ee5c8ced7dea8d7 Mon Sep 17 00:00:00 2001

From: Alexandre Belloni <[email protected]>
Date: Fri, 15 Jan 2016 09:30:18 +0100
Subject: ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt

From: Alexandre Belloni <[email protected]>

commit f505dba762ae826bb68978a85ee5c8ced7dea8d7 upstream.

No interrupt were received from the phy because PIOE 1 may not be properly muxed. It prevented proper link detection, especially since commit 321beec5047a ("net: phy: Use interrupts when available in NOLINK state") disables polling.

---
 arch/arm/boot/dts/at91-sama5d4_xplained.dts |    6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/at91-sama5d4_xplained.dts +6 -0
@@ -86,6 +86,8 @@
 			macb0: ethernet@f8020000 {
 				phy-mode = "rmii";
 				status = "okay";
+				pinctrl-names = "default";
+				pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
 
 				phy0: ethernet-phy@1 {
 					interrupt-parent = <&pioE>;
@@ -152,6 +154,10 @@
 						atmel,pins =
 							<AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
 					};
+					pinctrl_macb0_phy_irq: macb0_phy_irq_0 {
+						atmel,pins =
+							<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
+					};
 				};
 			};
 		};

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/arm-dts-at91-sama5d4-xplained-properly-mux-phy-interrupt.patch