]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: dw-mmio: support suspend/resume
authorJisheng Zhang <jszhang@kernel.org>
Thu, 22 Jan 2026 15:50:46 +0000 (23:50 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 12:46:30 +0000 (12:46 +0000)
commita8b6e3738c872d35f1cf7b3cd3ce67d86d38e7cf
tree5f9aa61a58c6c9193c80d2b344d327ca861be0f7
parentdb6a59cfcc9364dec501993690a320d916ae3904
spi: dw-mmio: support suspend/resume

Add system wide suspend and resume support, the implementation is
straightforward, just call spi_controller_suspend() then assert the
reset and disable clks for suspend, enable clks and deassert reset
then call spi_controller_resume() for resume.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://patch.msgid.link/20260122155046.12848-1-jszhang@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c