diff mbox series

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

Message ID 20220723200826.225448-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM | expand

Commit Message

Marek Vasut July 23, 2022, 8:08 p.m. UTC
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")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Vasut July 24, 2022, 5:18 p.m. UTC | #1
On 7/23/22 22:08, Marek Vasut wrote:
> 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/20220724171057.18549-1-marex@denx.de/
https://lore.kernel.org/linux-gpio/20220724171057.18549-2-marex@denx.de/

Please drop this patch.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi
index 1f7218c253915..e3a13e494ca6f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi
@@ -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
 		>;
 	};