spi: rpc-if: Add resume support for RZ/G3E

On RZ/G3E using PSCI, s2ram powers down the SoC. After resume,
reinitialize the hardware for SPI operations.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20250921112649.104516-3-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Biju Das 2025-09-21 12:26:46 +01:00 committed by Mark Brown
parent 81ef2022b3
commit ad4728740b
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ static int rpcif_spi_resume(struct device *dev)
{ {
struct spi_controller *ctlr = dev_get_drvdata(dev); struct spi_controller *ctlr = dev_get_drvdata(dev);
rpcif_hw_init(dev, false);
return spi_controller_resume(ctlr); return spi_controller_resume(ctlr);
} }