Skip to content

Commit ad47287

Browse files
bijudasbroonie
authored andcommitted
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>
1 parent 81ef202 commit ad47287

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/spi/spi-rpc-if.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ static int rpcif_spi_resume(struct device *dev)
207207
{
208208
struct spi_controller *ctlr = dev_get_drvdata(dev);
209209

210+
rpcif_hw_init(dev, false);
211+
210212
return spi_controller_resume(ctlr);
211213
}
212214

0 commit comments

Comments
 (0)