public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] PM: domains: Detach on device_unbind_cleanup()
@ 2025-06-16 13:53 Claudiu
  2025-06-16 13:53 ` [PATCH v4 1/2] " Claudiu
  2025-06-16 13:53 ` [PATCH v4 2/2] driver core: platform: Drop dev_pm_domain_detach() call Claudiu
  0 siblings, 2 replies; 9+ messages in thread
From: Claudiu @ 2025-06-16 13:53 UTC (permalink / raw)
  To: gregkh, rafael, dakr, len.brown, pavel, ulf.hansson, jic23,
	daniel.lezcano, dmitry.torokhov
  Cc: claudiu.beznea, linux-kernel, linux-pm, bhelgaas, geert,
	linux-iio, linux-renesas-soc, fabrizio.castro.jz, Claudiu Beznea

From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

Series drops the dev_pm_domain_detach() from platform bus remove and
adds it in device_unbind_cleanup() to avoid runtime resumming the device
after it was detached from its PM domain.

Please provide your feedback.

Thank you,
Claudiu

Changes in v4:
- added a flag in dev_pm_info that is saved in dev_pm_domain_attach()
  and used in device_unbind_cleanup()

Changes in v3:
- add devm_pm_domain_attach()

Changes in v2:
- dropped the devres group open/close approach and use
  devm_pm_domain_attach()
- adjusted patch description to reflect the new approach

Claudiu Beznea (2):
  PM: domains: Add domain detach_power_off state
  driver core: platform: Drop dev_pm_domain_detach()

 drivers/base/dd.c           | 2 ++
 drivers/base/platform.c     | 6 +-----
 drivers/base/power/common.c | 3 +++
 include/linux/pm.h          | 1 +
 4 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-06-30  5:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16 13:53 [PATCH v4 0/2] PM: domains: Detach on device_unbind_cleanup() Claudiu
2025-06-16 13:53 ` [PATCH v4 1/2] " Claudiu
2025-06-16 17:14   ` Rafael J. Wysocki
2025-06-17 14:41     ` Claudiu Beznea
2025-06-17 18:53       ` Rafael J. Wysocki
2025-06-19 12:16         ` Ulf Hansson
2025-06-30  5:02           ` Dmitry Torokhov
2025-06-19 12:11     ` Ulf Hansson
2025-06-16 13:53 ` [PATCH v4 2/2] driver core: platform: Drop dev_pm_domain_detach() call Claudiu

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