aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorMartin Fuzzey <[email protected]>2020-04-02 15:51:27 +0200
committerDavid S. Miller <[email protected]>2020-04-07 18:23:37 -0700
commitda722186f6549d752ea5b5fbc18111833c81a133 (patch)
tree89bab2944dc6d1767466f03c7e9d15e7a76f8ee8 /scripts/bpf_helpers_doc.py
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 <[email protected]> Signed-off-by: Fugang Duan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions