Skip to content

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 Latest2 patches 4 repliesIn 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 -61 reply
2/2driver core: platform: Allow drivers to skip PM domain power-on at probedrivers/base/platform.c include/linux/platform_device.h+13 -23 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRafael J. Wysocki (Intel)
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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]

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

Link to RFC:
https://lore.kernel.org/all/[email protected]/

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