summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Fuzzey <martin.fuzzey@flowbird.group>2020-04-02 15:51:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-02 08:48:55 +0200
commitb5da1152f7165182621f06f942fa752acdcf90b8 (patch)
treec7042749290a4e8a9645e59d1b3abe66119f4ec7 /tools/perf/scripts/python/export-to-postgresql.py
parent316ad98983d947ae9e13856247966dda950342d4 (diff)
net: fec: set GPR bit on suspend by DT configuration.
[ Upstream commit da722186f6549d752ea5b5fbc18111833c81a133 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions