mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Allow platform drivers to skip PM domain power-on at probe
@ 2026-10-27 14:07 Beleswar Padhi
  2026-10-27 14:07 ` [RFC PATCH 1/2] PM: domains: Honour PD_FLAG_ATTACH_POWER_ON for genpd Beleswar Padhi
  2026-10-27 14:07 ` [RFC PATCH 2/2] driver core: platform: Allow drivers to skip PM domain power-on at probe Beleswar Padhi
  0 siblings, 2 replies; 3+ messages in thread
From: Beleswar Padhi @ 2026-10-27 14:07 UTC (permalink / raw)
  To: gregkh, rafael, dakr, johan, pavel, lenb, ulfh
  Cc: sid9.karanam, afd, nm, vigneshr, u-kumar1, b-padhi, driver-core,
	linux-kernel, linux-pm

Some devices must be configured before their PM domain is powered on,
but on DT based platforms platform_probe() always powers it on first.
This series lets a platform driver opt out.

The user will be the TI K3 DSP/M4 remoteproc drivers which need to put
those remote cores in reset before powering on the pmdomain. A patch has
been posted to add "power-domains" DT property to these devices[0] which
is the motivation of this series as well.

[0]: https://lore.kernel.org/all/8cb23b44-027d-4d81-b342-7eaca0248f63@ti.com/

Please provide your comments.

Thanks,
Beleswar

Beleswar Padhi (2):
  PM: domains: Honour PD_FLAG_ATTACH_POWER_ON for genpd
  driver core: platform: Allow drivers to skip PM domain power-on at
    probe

 drivers/base/platform.c         | 7 +++++--
 drivers/base/power/common.c     | 5 +++--
 drivers/pmdomain/core.c         | 5 +++--
 include/linux/platform_device.h | 8 ++++++++
 include/linux/pm_domain.h       | 4 ++--
 5 files changed, 21 insertions(+), 8 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-10-27 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 14:07 [RFC PATCH 0/2] Allow platform drivers to skip PM domain power-on at probe Beleswar Padhi
2026-10-27 14:07 ` [RFC PATCH 1/2] PM: domains: Honour PD_FLAG_ATTACH_POWER_ON for genpd Beleswar Padhi
2026-10-27 14:07 ` [RFC PATCH 2/2] driver core: platform: Allow drivers to skip PM domain power-on at probe Beleswar Padhi

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

all inboxes | Powered by JetHome®