summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMartin Fuzzey <martin.fuzzey@flowbird.group>2020-04-02 15:51:27 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-07 18:23:37 -0700
commitda722186f6549d752ea5b5fbc18111833c81a133 (patch)
tree89bab2944dc6d1767466f03c7e9d15e7a76f8ee8 /arch
parent045065f06f938d3171b3ffacb34453421a32c1e3 (diff)
net: fec: set GPR bit on suspend by DT configuration.
On some SoCs, such as the i.MX6, it is necessary to set a bit in the SoC level GPR register before suspending for wake on lan to work. The fec platform callback sleep_mode_enable was intended to allow this but the platform implementation was NAK'd back in 2015 [1] This means that, currently, wake on lan is broken on mainline for the i.MX6 at least. So implement the required bit setting in the fec driver by itself by adding a new optional DT property indicating the GPR register and adding the offset and bit information to the driver. [1] https://www.spinics.net/lists/netdev/msg310922.html Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group> Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions