Skip to content

Commit 0f37174

Browse files
committed
spi: rpc-if: Add resume support for RZ/G3E
JIRA: https://issues.redhat.com/browse/RHEL-104570 commit ad47287 Author: Biju Das <biju.das.jz@bp.renesas.com> Date: Sun Sep 21 12:26:46 2025 +0100 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> Signed-off-by: Mattijs Korpershoek <mkorpershoek@redhat.com>
1 parent 265b82e commit 0f37174

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)