[PATCH v3 0/3] bus: sunxi-rsb: Fix poweroff issues

From: Samuel Holland
Date: Sun Nov 13 2022 - 20:58:12 EST


This series fixes a couple of issues that occur when powering off a
board using a PMIC attached to the RSB bus.

These issues only affected 32-bit platforms, because 64-bit platforms
use PSCI for pm_power_off(), and the PSCI firmware reinitializes the
RSB controller.

Changes in v3:
- Adjust patch 1 commit message
- Clear the interrupt status register after polling
- Add a patch refactoring how the status bits are cleared

Changes in v2:
- Add Fixes tag to patch 2
- Only check for specific status bits when polling

Samuel Holland (3):
bus: sunxi-rsb: Remove the shutdown callback
bus: sunxi-rsb: Support atomic transfers
bus: sunxi-rsb: Clear interrupt status before each transfer

drivers/bus/sunxi-rsb.c | 56 ++++++++++++++++++-----------------------
1 file changed, 25 insertions(+), 31 deletions(-)

--
2.37.3