summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNick Hu <nick.hu@sifive.com>2023-08-15 12:02:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-22 16:29:10 +0300
commit8a6498f2b94333f1793bc912b11830655f975470 (patch)
tree3cac72e53b231ec38ecf498255cec29bfcf95338 /tools/perf/scripts/python
parent6a4197f9763325043abf7690a21124a9facbf52e (diff)
downloadlinux-8a6498f2b94333f1793bc912b11830655f975470.tar.xz
serial: sifive: Add suspend and resume operations
If the Sifive Uart is not used as the wake up source, suspend the uart before the system enter the suspend state to prevent it woken up by unexpected uart interrupt. Resume the uart once the system woken up. Signed-off-by: Nick Hu <nick.hu@sifive.com> Reviewed-by: Ben Dooks <ben.dooks@codethink.co.uk> Link: https://lore.kernel.org/r/20230815090216.2575971-1-nick.hu@sifive.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions