Skip to contentSkip to conversation

arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM

PATCH In review Marek Vasut 1 participant 2 messages Jul 23, 2022 – Jul 24, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM

Set SION bit and clear ODE and DSE bits for PHY IRQ IOMUXC settings. The SION bit is needed to pass pin state into the SoC, the later are not needed as this is an input pin.

Fixes 8d6712695bc8e ("arm64: dts: imx8mp: Add support for DH electronics i.MX8M Plus DHCOM and PDK2")
Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Peng Fan <[email protected]>
Cc Shawn Guo <[email protected]>

To: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +1 -1
index 1f7218c253915..e3a13e494ca6f 100644
@@ -778,7 +778,7 @@ pinctrl_ethphy0: dhcom-ethphy0-grp {
 			/* ENET1_#RST Reset */
 			MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20		0x22
 			/* ENET1_#INT Interrupt */
-			MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19		0x22
+			MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19		0x40000000
 		>;
 	};
 
Signature · 7 lines
2.35.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 3 lines · Marek Vasut

Set SION bit and clear ODE and DSE bits for PHY IRQ IOMUXC settings. The SION bit is needed to pass pin state into the SoC, the later are not needed as this is an input pin.

I think these two are the right fix for this problem:

https://lore.kernel.org/linux-gpio/[email protected]/
https://lore.kernel.org/linux-gpio/[email protected]/

Please drop this patch.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel