arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM PDK2
Subsystems (3)
PATCH 1/1 arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM PDK2
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.
--- 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
@@ -793,7 +793,7 @@ pinctrl_ethphy1: dhcom-ethphy1-grp { /* ENET1_#RST Reset */ MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x11 /* ENET1_#INT Interrupt */ - MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x11 + MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x40000000 >; };
Signature · 7 lines
2.35.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 6 lines
Subject: [PATCH] arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM PDK2
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.
As I recall, only I2C needs set SION. Have you configure the GPIO as input?
Regards
Peng.
Quoted 31 lines
Fixes 8d6712695bc8e ("arm64: dts: imx8mp: Add support for DH electronicsi.MX8M Plus DHCOM and PDK2")
Signed-off-by Marek Vasut <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP Linux Team <[email protected]>Cc Peng Fan <[email protected]>Cc Shawn Guo <[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@@ -793,7 +793,7 @@ pinctrl_ethphy1: dhcom-ethphy1-grp { /* ENET1_#RST Reset */ MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x11 /* ENET1_#INT Interrupt */ - MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x11 + MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x40000000arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +0
-1>; }; --
Quoted 1 line
2.35.1
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Peng Fan
Quoted 6 lines
Subject: [PATCH] arm64: dts: imx8mp: Adjust PHY IRQ mode on i.MX8M Plus DHCOM PDK2
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.
As I recall, only I2C needs set SION. Have you configure the GPIO as input?
You're right, 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