mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
71d076ceb2
All supported Renesas ARM SoCs (except for Emma Mobile EV2) have clock domains. Some SoCs also have power domains. To ensure proper operation of on-SoC modules, module clocks must be ungated, and power domains must be powered up when needed. Currently the user can choose to build a kernel with power management enabled or disabled: - If CONFIG_PM=y, power domains and/or module clocks are handled dynamically by Runtime PM and the generic power domain. - If CONFIG_PM=n, power domains are assumed to be powered up by reset state or by the boot loader, and module clocks are handled by the legacy clock domain on driver (un)bind. The latter is implemented using a platform bus notifier, which applies not only to all on-SoC devices, but to all platform devices present in the system. To remove the dependency on implicit assumptions, and to get rid of the peculiarities of the legacy clock domain, enable CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS unconditionally, for all Renesas ARM SoCs with clock and/or power domains. This does cause an increase in kernel size. Given bloat-o-meter reports a modest increase of 26 KiB for an RZ/A1H kernel, this should not be a problem, even when used on RZ/A1H with XIP and internal RAM only. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
||
---|---|---|
.. | ||
common.h | ||
cpufreq.c | ||
emev2.h | ||
headsmp-scu.S | ||
headsmp.S | ||
Kconfig | ||
Makefile | ||
platsmp-apmu.c | ||
platsmp-apmu.h | ||
platsmp-scu.c | ||
platsmp.c | ||
pm-r8a7779.c | ||
pm-rcar-gen2.c | ||
pm-rcar.c | ||
pm-rcar.h | ||
pm-rmobile.c | ||
pm-rmobile.h | ||
r8a7779.h | ||
r8a7790.h | ||
r8a7791.h | ||
rcar-gen2.h | ||
regulator-quirk-rcar-gen2.c | ||
setup-emev2.c | ||
setup-r7s72100.c | ||
setup-r8a73a4.c | ||
setup-r8a7740.c | ||
setup-r8a7778.c | ||
setup-r8a7779.c | ||
setup-r8a7790.c | ||
setup-r8a7791.c | ||
setup-r8a7793.c | ||
setup-r8a7794.c | ||
setup-rcar-gen2.c | ||
setup-sh73a0.c | ||
sh73a0.h | ||
smp-emev2.c | ||
smp-r8a7779.c | ||
smp-r8a7790.c | ||
smp-r8a7791.c | ||
smp-sh73a0.c | ||
suspend.c | ||
timer.c |