[PATCH 0/2] Allow platform drivers to skip PM domain power-on at probe

Beleswar Padhi posted 2 patches an hour ago
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(-)
[PATCH 0/2] Allow platform drivers to skip PM domain power-on at probe
Posted by Beleswar Padhi an hour ago
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

No changelog since RFC. Re-submitted after removing RFC tag.

Link to RFC:
https://lore.kernel.org/all/20261027140751.2465743-1-b-padhi@ti.com/

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