ARM: imx6: disable deeper idle states when FEC is active w/o HW workaround
authorLucas Stach <l.stach@pengutronix.de>
Fri, 3 Jun 2016 16:31:19 +0000 (18:31 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 12 Jun 2016 11:48:08 +0000 (19:48 +0800)
commit29380905565655bb797bf670a173bddb8e641da6
tree3bd0b6ca7f5c623e5031cbeb5febb52578999eb8
parentac4bbb45e9965b2f53608925eb6e6fa7d5ef8879
ARM: imx6: disable deeper idle states when FEC is active w/o HW workaround

The i.MX6 Q/DL has an erratum (ERR006687) that prevents the FEC from
waking the CPUs when they are in wait(unclocked) state. As the hardware
workaround isn't applicable to all boards, disable the deeper idle state
when the workaround isn't present and the FEC is in use.

This allows to safely run a kernel with CPUidle enabled on all i.MX6
boards.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: David S. Miller <davem@davemloft.net> (for network changes)
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/net/fsl-fec.txt
arch/arm/mach-imx/cpuidle-imx6q.c
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c
include/soc/imx/cpuidle.h [new file with mode: 0644]