]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ
authorTroy Kisky <troy.kisky@boundarydevices.com>
Fri, 20 Dec 2013 18:47:07 +0000 (11:47 -0700)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:17 +0000 (21:16 -0600)
commit7d57389e5bb72b440a439bda6ec70f05629e6a07
treeb9974ea8e5f3a7e44564447f99b9e4c2fea97328
parenteddfccf91b1c8d6cc5a60d88df3070a96d0787e6
ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ

From "Chip Errata for the i.MX 6Dual/6Quad"

ERR006687 ENET: Only the ENET wake-up interrupt request can wake the
system from Wait mode.

The ENET block generates many interrupts. Only one of these interrupt lines
is connected to the General Power Controller (GPC) block, but a logical OR
of all of the ENET interrupts is connected to the General Interrupt Controller
(GIC). When the system enters Wait mode, a normal RX Done or TX Done does not
wake up the system because the GPC cannot see this interrupt. This impacts
performance of the ENET block because its interrupts are serviced only when
the chip exits Wait mode due to an interrupt from some other wake-up source.

Adding MX6QDL_PAD_GPIO_6__ENET_IRQ is the 1st step to
workaround this problem.

The input reg is set to 0x3c to set IOMUX_OBSRV_MUX1 to ENET_IRQ.
The mux reg value is 0x11, so that the observable mux is routed to
this pin and to the gpio controller(sion bit). These magic values
come from Ranjani Vaidyanathan's patch:
"ENGR00257847-1 MX6Q/DL-Fix Ethernet performance issue when WAIT mode is active"

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
CC: Ranjani Vaidyanathan <ra5478@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
[shawn.guo: cherry-pick commit d8c765e0d1dd from upstream]
arch/arm/boot/dts/imx6dl-pinfunc.h
arch/arm/boot/dts/imx6q-pinfunc.h