From: Mark Brown Date: Tue, 23 Sep 2025 08:57:52 +0000 (+0200) Subject: spi: rpc-if: Add resume support for RZ/G3E X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=2bfb20b65d9bc1d0de58f8c28ca9d6f1d27bbc01;p=linux-2.6-microblaze.git spi: rpc-if: Add resume support for RZ/G3E Merge series from Biju Das : On RZ/G3E using PSCI, s2ram powers down the SoC. After resume, reinitialize the hardware for SPI operations. Also Replace the macro SIMPLE_DEV_PM_OPS->DEFINE_SIMPLE_DEV_PM_OPS macro and use pm_sleep_ptr(). This lets us drop the check for CONFIG_PM_SLEEP and __maybe_unused attribute from PM functions. --- 2bfb20b65d9bc1d0de58f8c28ca9d6f1d27bbc01