[PATCH 0/3] regulator: handle regulator late cleanup race with PM suspend

Joy Zou posted 3 patches 1 week, 2 days ago
arch/arm64/boot/dts/freescale/imx8mq-evk.dts |  6 ++++++
drivers/regulator/core.c                     |  6 ++++--
drivers/regulator/pfuze100-regulator.c       | 17 +++++++++++++++++
3 files changed, 27 insertions(+), 2 deletions(-)
[PATCH 0/3] regulator: handle regulator late cleanup race with PM suspend
Posted by Joy Zou 1 week, 2 days ago
The regulator_init_complete_work fires ~30s after boot to disable
unused regulators via I2C. When this work races with PM suspend, the
I2C adapter may already be suspended, causing a -ESHUTDOWN warning
dump.

This series addresses the race and adds proper suspend power
management for unused LDO regulators.

Signed-off-by: Joy Zou <joy.zou@oss.nxp.com>
---
Joy Zou (3):
      regulator: core: use system_freezable_wq for init complete work
      regulator: pfuze100: add set_suspend_disable for LDO ops
      arm64: dts: imx8mq-evk: add regulator-off-in-suspend for VGEN1/VGEN6

 arch/arm64/boot/dts/freescale/imx8mq-evk.dts |  6 ++++++
 drivers/regulator/core.c                     |  6 ++++--
 drivers/regulator/pfuze100-regulator.c       | 17 +++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)
---
base-commit: 34cf6dafc47441dfb6b356a095b89c3585a93714
change-id: 20260716-b4-regulator-pf01-5db03fba4a92

Best regards,
--  
Joy Zou <joy.zou@oss.nxp.com>