commit | 394e835145414f8633303b46fe938e10fda697c4 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Sat Apr 21 16:07:33 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Apr 22 17:38:01 2018 +0200 |
tree | f4181eeecf9623e62375ef134862f9167dd4c9ec | |
parent | 7a91e382974c2d75c8a49022c361113c7d8f4935 [diff] |
serial: mvebu-uart: add suspend/resume support Add suspend and resume hooks to save/restore the registers content during S2RAM operation. Also save/restore the oversampling rate register (OSAMP) as earlier stages already tuned that register to get a precise UART clock. Suggested-by: Allen Yan <yanwei@marvell.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>