Skip to content

PM: Make ARM/shmobile PM domains initialization more straightforward

Rafael J. Wysocki linux-sh lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12PM / Domains: Make it possible to use domain names when adding devicesdrivers/base/power/domain.c include/linux/pm_domain.h+56 -130 replies
2/12ARM: shmobile: Use names of power domains for adding devices to themarch/arm/mach-shmobile/board-ap4evb.c arch/arm/mach-shmobile/board-armadillo800eva.c arch/arm/mach-shmobile/board-mackerel.c +4 more+60 -600 replies
3/12ARM: shmobile: Drop r8a7779_add_device_to_domain()arch/arm/mach-shmobile/include/mach/r8a7779.h arch/arm/mach-shmobile/pm-r8a7779.c+4 -130 replies
4/12PM / Domains: Make it possible to use names when adding subdomainsdrivers/base/power/domain.c include/linux/pm_domain.h+38 -10 replies
5/12ARM: shmobile: Use domain names when adding subdomains to power domainsarch/arm/mach-shmobile/include/mach/pm-rmobile.h arch/arm/mach-shmobile/pm-rmobile.c arch/arm/mach-shmobile/setup-r8a7740.c +1 more+5 -140 replies
6/12ARM: shmobile: Add routine for automatic PM domains initializationarch/arm/mach-shmobile/include/mach/pm-rmobile.h arch/arm/mach-shmobile/pm-rmobile.c+10 -00 replies
7/12PM / Domains: Add power-on function using names to identify domainsdrivers/base/power/domain.c include/linux/pm_domain.h+36 -150 replies
8/12PM / shmobile: Do not access sh7372 A4S domain internals directlyarch/arm/mach-shmobile/pm-sh7372.c+14 -30 replies
9/12ARM: shmobile: Move sh7372's PM domain objects to a tablearch/arm/mach-shmobile/include/mach/sh7372.h arch/arm/mach-shmobile/pm-sh7372.c arch/arm/mach-shmobile/setup-sh7372.c+64 -810 replies
10/12ARM: shmobile: Move r8a7740's PM domain objects to a tablearch/arm/mach-shmobile/include/mach/r8a7740.h arch/arm/mach-shmobile/pm-r8a7740.c arch/arm/mach-shmobile/setup-r8a7740.c+28 -270 replies
11/12ARM: shmobile: Move r8a7779's PM domain objects to a tablearch/arm/mach-shmobile/include/mach/r8a7779.h arch/arm/mach-shmobile/pm-r8a7779.c arch/arm/mach-shmobile/setup-r8a7779.c+39 -400 replies
12/12ARM: shmobile: Make rmobile_init_pm_domain() staticarch/arm/mach-shmobile/include/mach/pm-rmobile.h arch/arm/mach-shmobile/pm-rmobile.c+1 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/12] PM: Make ARM/shmobile PM domains initialization more straightforward

Hi all,

The majority of patches in this series were sent previously in this RFC:

http://marc.info/?l=linux-pm&m4247432010192&w=4

but they do not have anything to do with DTs and clean up the code quite a bit, so I thought they are worth resending in a different context.

Patch [8/12] is new and replaces a patch that removed some code I thought could never be used, which was wrong.

[1/12] - Make it possible to use domain names for adding devices to PM domains. [2/12] - Make ARM/shmobile use domain names for adding devices to PM domains. [3/12] - Drop the r8a7779's "add device to domain" function.
[4/12] - Make it possible to use domain names for adding subdomains to PM domains. [5/12] - Make ARM/shmobile use domain names for adding subdomains to PM domains. [6/12] - Add ARM/shmobile function for "batch" initialization of PM domains. [7/12] - Make it possible to power on a PM domain using its name. [8/12] - Avoid accessing A4S internals directly in the SH7372 system suspend code. [9/12] - Put SH7372 PM domain objects into a table and initialize them in a loop. [10/12] - Put R8A7740 PM domain objects into a table and initialize them in a loop. [11/12] - Put R8A7779 PM domain objects into a table and initialize them in a loop. [12/12] - Unexport rmobile_init_pm_domain() which may be a static function now.

The present series is on top of this patch set sent yesterday:

http://marc.info/?l=linux-pm&m4421084022735&w=4

Thanks,
Rafael