summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-05-20 18:36:19 +0800
committerFugang Duan <b38611@freescale.com>2015-05-21 15:46:02 +0800
commit8da4f80af0913781a4f9d50917c1dd66180e519d (patch)
treed2659f04cad0106082f8e5160737b8a4f4205793 /Documentation
parent0a3a39bdbb57519772a2b5b5db02bb66feb755ba (diff)
MLK-10939-01 net: fec: add stop mode support for dts register set
The current driver support stop mode by calling machine api. The patch add dts support to set gpr register for stop request. After magic pattern comming during system suspend status, system will be waked up, and irq handler will be running, there have enet register access. Since all clocks are disabled in suspend, and clocks are enabled after resume function. But irq handler run before resume function. For imx7d chip, access register need some clocks enabled, otherwise system hang. So the patch also disable wake up irq in the suspend, after resume back enable the irq, which can avoid system hang issue. Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/fsl-fec.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt
index 8b69cbc8028a..d38a399392df 100644
--- a/Documentation/devicetree/bindings/net/fsl-fec.txt
+++ b/Documentation/devicetree/bindings/net/fsl-fec.txt
@@ -27,6 +27,9 @@ Optional properties:
number to 1.
- fsl,magic-packet : If present, indicates that the hardware supports waking
up via magic packet.
+- fsl,wakeup_irq : The property define the wakeup irq index in enet irq source.
+- stop-mode : If present, indicates soc need to set gpr bit to request stop
+ mode.
Optional subnodes:
- mdio : specifies the mdio bus in the FEC, used as a container for phy nodes