All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6qp: adapt DT to changed FEC interrupts
@ 2017-01-20 16:17 Lucas Stach
  2017-01-24 12:51 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2017-01-20 16:17 UTC (permalink / raw)
  To: linux-arm-kernel

On i.MX6QP the FEC interrupts are wired to the GPC, just like all other
device interrupts. This allows to FEC to wake the CPU from WFI, but for
this to work the kernel needs to know about the new IRQ routing.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx6qp.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi
index 0d4977ab7d29..24d071f5d9cd 100644
--- a/arch/arm/boot/dts/imx6qp.dtsi
+++ b/arch/arm/boot/dts/imx6qp.dtsi
@@ -95,6 +95,12 @@
 	};
 };
 
+&fec {
+	/delete-property/interrupts-extended;
+	interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
+		     <0 119 IRQ_TYPE_LEVEL_HIGH>;
+};
+
 &ldb {
 	clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_LDB_DI1_SEL>,
 		 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
-- 
2.11.0

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

* [PATCH] ARM: imx6qp: adapt DT to changed FEC interrupts
  2017-01-20 16:17 [PATCH] ARM: imx6qp: adapt DT to changed FEC interrupts Lucas Stach
@ 2017-01-24 12:51 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2017-01-24 12:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 20, 2017 at 05:17:40PM +0100, Lucas Stach wrote:
> On i.MX6QP the FEC interrupts are wired to the GPC, just like all other
> device interrupts. This allows to FEC to wake the CPU from WFI, but for
> this to work the kernel needs to know about the new IRQ routing.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Applied, thanks.

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

end of thread, other threads:[~2017-01-24 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 16:17 [PATCH] ARM: imx6qp: adapt DT to changed FEC interrupts Lucas Stach
2017-01-24 12:51 ` 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.