diff options
author | Yan-Hsuan Chuang <yhchuang@realtek.com> | 2019-10-02 05:31:24 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-10-02 07:33:46 +0300 |
commit | 27e117e4b01b5e699a40a3891b4f6924f99011d7 (patch) | |
tree | 390c4286c81470c4b91343d2db74d6d7d0b8c3c4 /drivers/regulator/tps51632-regulator.c | |
parent | 37ba5de2e731afbfe606d7192a8aeba625abdaba (diff) | |
download | linux-27e117e4b01b5e699a40a3891b4f6924f99011d7.tar.xz |
rtw88: add deep power save support
Deep power save allows firmware/hardware to operate in a
lower power state. And the deep power save mode depends on
LPS mode. So, before entering deep PS, driver must first
enter LPS mode.
Under Deep PS, most of hardware functions are shutdown,
driver will not be able to read/write registers and transfer
data to the device. Hence TX path must be protected by each
interface. Take PCI for example, DMA engine should be idle,
and no nore activities on the PCI bus.
If driver wants to operate on the device, such as register
read/write, it must first acquire the mutex lock and wake
up from Deep PS, otherwise the behavior is undefined.
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/regulator/tps51632-regulator.c')
0 files changed, 0 insertions, 0 deletions