Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] regulator: handle regulator late cleanup race with PM suspend
@ 2026-07-16  3:50 Joy Zou
  2026-07-16  3:50 ` [PATCH 1/3] regulator: core: use system_freezable_wq for init complete work Joy Zou
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joy Zou @ 2026-07-16  3:50 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, Ye Li, Jacky Bai, Peng Fan, Dong Aisheng
  Cc: linux-kernel, devicetree, imx, linux-arm-kernel, Joy Zou

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>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-07-16 14:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-16  3:50 [PATCH 0/3] regulator: handle regulator late cleanup race with PM suspend Joy Zou
2026-07-16  3:50 ` [PATCH 1/3] regulator: core: use system_freezable_wq for init complete work Joy Zou
2026-07-16 14:27   ` Frank Li
2026-07-16  3:50 ` [PATCH 2/3] regulator: pfuze100: add set_suspend_disable for LDO ops Joy Zou
2026-07-16 14:28   ` Frank Li
2026-07-16  3:50 ` [PATCH 3/3] arm64: dts: imx8mq-evk: add regulator-off-in-suspend for VGEN1/VGEN6 Joy Zou
2026-07-16 14:31   ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox