[RFC PATCH 0/2] Allow platform drivers to skip PM domain power-on at probe
From: Beleswar Padhi
Date: Tue Oct 27 2026 - 10:16:56 EST
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@xxxxxx/
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