]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: cadence-xspi: support suspend/resume
authorJisheng Zhang <jszhang@kernel.org>
Thu, 22 Jan 2026 15:51:19 +0000 (23:51 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2026 12:46:29 +0000 (12:46 +0000)
commitdb6a59cfcc9364dec501993690a320d916ae3904
tree1ad4805eec26f876372290bfcc2fe0bc86f61dc8
parente73eb6a73c209e63f5f239337bda4b938d75a1f7
spi: cadence-xspi: support suspend/resume

Add system wide suspend and resume support, the suspend hook
implementation is straightforward, just call spi_controller_suspend()
While the resume hook implementation is a bit complex, we need to redo
something which is done during probe, such as enable the interrupts,
setup clk and config the phy for mrvl hw overlay.

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