I suppose this is a hack to ensure that the SPI controller is runtime PM enabled when the PMIC wants to do the shutdown? In that case maybe the poweroff prepare handler should be used instead to avoid doing this on rockchip boards not using SPI PMIC for shutdown (i.e. anything that is not RK3588)?
I suppose this is a hack to ensure that the SPI controller is runtime PM enabled when the PMIC wants to do the shutdown? In that case maybe the poweroff prepare handler should be used instead to avoid doing this on rockchip boards not using SPI PMIC for shutdown (i.e. anything that is not RK3588)?