Skip to content

PM: Rework shmobile and OMAP runtime PM using power domains

Rafael J. Wysocki linux-pm linux-sh lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 47 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9PM: Make power domain callbacks take precedence over subsystem onesdrivers/base/power/main.c drivers/base/power/runtime.c+41 -520 replies
1/9PM: Make power domain callbacks take precedence over subsystem onesdrivers/base/power/main.c drivers/base/power/runtime.c+41 -520 replies
1/9PM: Make power domain callbacks take precedence over subsystem onesdrivers/base/power/main.c drivers/base/power/runtime.c+41 -520 replies
2/9PM: Export platform bus type's default PM callbacksdrivers/base/platform.c include/linux/platform_device.h+78 -540 replies
2/9PM: Export platform bus type's default PM callbacksdrivers/base/platform.c include/linux/platform_device.h+78 -540 replies
2/9PM: Export platform bus type's default PM callbacksdrivers/base/platform.c include/linux/platform_device.h+78 -540 replies
2/9PM: Export platform bus type's default PM callbacksdrivers/base/platform.c include/linux/platform_device.h+78 -540 replies
3/9shmobile: Use power domains for platform runtime PMarch/arm/mach-shmobile/pm_runtime.c arch/sh/kernel/cpu/shmobile/pm_runtime.c+40 -180 replies
3/9shmobile: Use power domains for platform runtime PMarch/arm/mach-shmobile/pm_runtime.c arch/sh/kernel/cpu/shmobile/pm_runtime.c+40 -180 replies
3/9shmobile: Use power domains for platform runtime PMarch/arm/mach-shmobile/pm_runtime.c arch/sh/kernel/cpu/shmobile/pm_runtime.c+40 -180 replies
3/9shmobile: Use power domains for platform runtime PMarch/arm/mach-shmobile/pm_runtime.c arch/sh/kernel/cpu/shmobile/pm_runtime.c+40 -180 replies
4/9PM / Platform: Use generic runtime PM callbacks directlydrivers/base/platform.c+3 -280 replies
4/9PM / Platform: Use generic runtime PM callbacks directlydrivers/base/platform.c+3 -280 replies
4/9PM / Platform: Use generic runtime PM callbacks directlydrivers/base/platform.c+3 -280 replies
4/9PM / Platform: Use generic runtime PM callbacks directlydrivers/base/platform.c+3 -280 replies
5/9OMAP2+ / PM: Move runtime PM implementation to use power domainsarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/pm_bus.c arch/arm/plat-omap/omap_device.c+26 -880 replies
5/9OMAP2+ / PM: Move runtime PM implementation to use power domainsarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/pm_bus.c arch/arm/plat-omap/omap_device.c+26 -880 replies
5/9OMAP2+ / PM: move runtime PM implementation to use device power domainsarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/pm_bus.c arch/arm/plat-omap/omap_device.c+26 -880 replies
5/9OMAP2+ / PM: move runtime PM implementation to use device power domainsarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/pm_bus.c arch/arm/plat-omap/omap_device.c+26 -880 replies
6/9PM / Runtime: Add subsystem data field to struct dev_pm_infoarch/arm/mach-shmobile/pm_runtime.c include/linux/pm.h+18 -170 replies
6/9PM / Runtime: Add subsystem data field to struct dev_pm_infoarch/arm/mach-shmobile/pm_runtime.c include/linux/pm.h+18 -170 replies
6/9PM / Runtime: Add subsystem data field to struct dev_pm_infoarch/arm/mach-shmobile/pm_runtime.c include/linux/pm.h+18 -170 replies
7/9PM / Runtime: Add generic clock manipulation rountines for runtime PMarch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+216 -13412 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v2)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+478 -1310 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v2)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+478 -1310 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v3)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+479 -13112 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v3)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+479 -1310 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v5)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+473 -1314 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v5)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+473 -1310 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v6)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+486 -1314 replies
7/9PM / Runtime: Generic clock manipulation rountines for runtime PM (v6)arch/arm/mach-shmobile/pm_runtime.c drivers/base/power/Makefile drivers/base/power/clock_ops.c +2 more+486 -1310 replies
8/9OMAP1 / PM: Use generic clock manipulation routines for runtime PMarch/arm/mach-omap1/pm_bus.c+20 -4311 replies
8/9OMAP1 / PM: Use generic clock manipulation routines for runtime PMarch/arm/mach-omap1/pm_bus.c+20 -430 replies
8/9OMAP1 / PM: Use generic clock manipulation routines for runtime PMarch/arm/mach-omap1/pm_bus.c+22 -474 replies
8/9OMAP1 / PM: Use generic clock manipulation routines for runtime PMarch/arm/mach-omap1/pm_bus.c+22 -470 replies
9/9PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"drivers/base/platform.c include/linux/platform_device.h+0 -380 replies
9/9PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"drivers/base/platform.c include/linux/platform_device.h+0 -380 replies
9/9PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"drivers/base/platform.c include/linux/platform_device.h+0 -380 replies
9/9PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"drivers/base/platform.c include/linux/platform_device.h+0 -380 replies

Reviews trailers per patch

11 of 39 patches have a Reviewed-by or Acked-by.

PatchGrant LikelyKevin Hilman
1/9A-b A-b A-b A-b A-b A-b
1/9A-b A-b A-b A-b A-b A-b
1/9A-b A-b A-b A-b A-b A-b
2/9
2/9
2/9
2/9
3/9
3/9
3/9
3/9
4/9
4/9
4/9
4/9
5/9A-b A-b A-b A-b
5/9A-b A-b A-b A-b
5/9A-b A-b A-b A-b
5/9A-b A-b A-b A-b
6/9
6/9
6/9
7/9
7/9
7/9
7/9
7/9
7/9
7/9
7/9
7/9
8/9A-b A-b
8/9A-b A-b
8/9A-b A-b
8/9A-b A-b
9/9
9/9
9/9
9/9

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/9] PM: Rework shmobile and OMAP runtime PM using power domains

Hi,

The following series of patches is my attempt to consolidate the shmobile and OMAP runtime PM code using power domains so that it is not necessary to replace the platform bus type's runtime PM callbacks any more.

Some of the patches have already been posted, some are new and some are from Kevin. :-)

[1/9] - Make power domain callbacks take precedence over subsystem ones
(this one has been discussed already).

[2/9] - Export the platform bus type's default PM callbacks so that they
can be used in power domain objects.

[3/9] - Use a default power domain for runtime PM on shmobile (both ARM
and SH flavors) instead of replacing the platform bus type's runtime PM callbacks (using __weak).

[4/9] - Use generic runtime PM callbacks directly in the platform bus type.

[5/9] - Move OMAP2 runtime PM implementation to using a power domain object
(patch from Kevin rebased on top of [1-4/9]).

[6/9] - Add subsystem data field to struct dev_pm_info.

[7/9] - Introduce generic clock manipulation routines for runtime PM and
convert ARM shmobile to using them.

[8/9] - Move OMAP1 runtime PM to the new core infrastructure.

[9/9] - Remove platform_bus_set_pm_ops() (patch from Kevin).

Comments welcome.

Thanks,
Rafael