twx-linux/drivers/pmdomain
Ulf Hansson 303010f465 pmdomain: renesas: rmobile-sysc: Don't keep unused PM domains powered-on
The recent changes to genpd makes a genpd OF provider that is powered-on at
initialization to stay powered-on, until the ->sync_state() callback is
invoked for it.

This may not happen at all, if we wait for a consumer device to be probed,
leading to wasting energy. There are ways to enforce the ->sync_state()
callback to be invoked, through sysfs or via the probe-defer-timeout, but
none of them in its current form are a good fit for rmobile-sysc PM
domains.

Let's therefore opt-out from this behaviour of genpd for now, by using the
GENPD_FLAG_NO_STAY_ON.

Link: https://lore.kernel.org/all/20250701114733.636510-1-ulf.hansson@linaro.org/
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 0e789b491ba0 ("pmdomain: core: Leave powered-on genpds on until sync_state")
Fixes: 13a4b7fb6260 ("pmdomain: core: Leave powered-on genpds on until late_initcall_sync")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2025-09-11 12:36:55 +02:00
..
actions pmdomain: Use device_get_match_data() 2023-10-17 11:45:11 +02:00
amlogic pmdomain: amlogic: Constify struct meson_secure_pwrc_domain_data 2025-07-09 13:10:53 +02:00
apple pmdomain: apple: Drop default ARCH_APPLE in Kconfig 2025-06-18 14:42:24 +02:00
arm pmdomain: arm: scmi_pm_domain: remove code clutter 2025-06-18 14:44:43 +02:00
bcm pmdomain: bcm: bcm2835-power: Use devm_clk_get_optional 2025-04-23 14:32:13 +02:00
imx imx8m-blk-ctrl: set ISI panic write hurry level 2025-06-18 14:39:38 +02:00
mediatek pmdomain: mediatek: Add error messages for missing regmaps 2025-04-25 12:17:55 +02:00
qcom pmdomain: qcom: rpmhpd: Add Glymur RPMh Power Domains 2025-07-23 12:12:16 +02:00
renesas pmdomain: renesas: rmobile-sysc: Don't keep unused PM domains powered-on 2025-09-11 12:36:55 +02:00
rockchip pmdomain: rockchip: Fix regulator dependency with GENPD_FLAG_NO_STAY_ON 2025-09-11 12:36:34 +02:00
samsung pmdomain: samsung: Fix splash-screen handover by enforcing a sync_state 2025-07-14 11:33:31 +02:00
st pmdomain: st: Add a Kconfig option for the ux500 power domain 2023-10-04 23:41:56 +02:00
starfive pmdomain: starfive: Update prefixes for AON power domain 2023-10-04 23:41:57 +02:00
sunxi pmdomain: sunxi: sun20i-ppu: change to tristate and enable for ARCH_SUNXI 2025-07-15 16:04:55 +02:00
tegra pmdomain: core: constify of_phandle_args in xlate 2024-02-14 10:26:11 +01:00
thead pmdomain: thead: Instantiate GPU power sequencer via auxiliary bus 2025-06-25 12:09:21 +02:00
ti pmdomain: ti: Select PM_GENERIC_DOMAINS 2025-07-15 16:08:19 +02:00
xilinx firmware/pmdomain: xilinx: Move ->sync_state() support to firmware driver 2025-07-09 13:29:25 +02:00
core.c pmdomain: core: Restore behaviour for disabling unused PM domains 2025-09-11 12:36:14 +02:00
governor.c pmdomain: governor: Consider CPU latency tolerance from pm_domain_cpu_gov 2025-07-09 12:20:12 +02:00
Kconfig pmdomain: thead: Add power-domain driver for TH1520 2025-03-13 14:42:06 +01:00
Makefile pmdomain: thead: Add power-domain driver for TH1520 2025-03-13 14:42:06 +01:00