summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2015-05-20 18:36:19 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:23:05 -0500
commit7770ef317956dc3a4c7f52657cf93fa4a59c7249 (patch)
treece35f1ee163c7cc262565f821aaa4505dced79b4 /Documentation
parenta0f67083cbddf18a2570774e54288c588c81e126 (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