[PATCH 0/8] SPMI patches for the merge window

Stephen Boyd
2023-12-06T23:17:38Z

Hi Greg,

Here's a collection of SPMI patches that I picked up a bit ago but
didn't send because we were too close to the merge window. The first
patch should probably be applied now though, because we're hanging the
PMIF interface on some mediatek boards when async probing. Otherwise the
patches improve mediatek spmi controllers and introduce some devm
wrappers for spmi controllers to simplify.

Fei Shao (5):
spmi: Introduce device-managed functions
spmi: Use devm_spmi_controller_alloc()
spmi: mtk-pmif: Reorder driver remove sequence
spmi: hisi-spmi-controller: Use devm_spmi_controller_add()
spmi: Return meaningful errors in spmi_controller_alloc()

Nícolas F. R. A. Prado (1):
spmi: mtk-pmif: Serialize PMIF status check and command submission

Sen Chu (1):
spmi: mediatek: add device id check

Yu-Che Cheng (1):
spmi: mediatek: Fix UAF on device remove

drivers/spmi/Makefile | 2 +-
drivers/spmi/hisi-spmi-controller.c | 32 +++--------
drivers/spmi/spmi-devres.c | 64 +++++++++++++++++++++
drivers/spmi/spmi-mtk-pmif.c | 61 ++++++++++++--------
drivers/spmi/spmi-pmic-arb.c | 87 ++++++++++-------------------
drivers/spmi/spmi.c | 6 +-
include/linux/spmi.h | 3 +
7 files changed, 146 insertions(+), 109 deletions(-)
create mode 100644 drivers/spmi/spmi-devres.c

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d