Skip to content

RFC Allow platform drivers to skip PM domain power-on at probe

Beleswar Padhi driver-core linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM: domains: Honour PD_FLAG_ATTACH_POWER_ON for genpddrivers/base/power/common.c drivers/pmdomain/core.c include/linux/pm_domain.h+8 -60 replies
2/2driver core: platform: Allow drivers to skip PM domain power-on at probedrivers/base/platform.c include/linux/platform_device.h+13 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.34.1