linux/drivers/pmdomain/renesas
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: 0e789b491b ("pmdomain: core: Leave powered-on genpds on until sync_state")
Fixes: 13a4b7fb62 ("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
..
Kconfig pmdomain: renesas: sort Renesas Kconfig configs 2025-07-09 12:54:37 +02:00
Makefile pmdomain: renesas: rcar-sysc: Split R-Car M3-W and M3-W+ sub-drivers 2024-04-18 16:51:50 +02:00
r8a774a1-sysc.c
r8a774b1-sysc.c
r8a774c0-sysc.c
r8a774e1-sysc.c
r8a779a0-sysc.c pmdomain: renesas: rcar-gen4-sysc: Remove unneeded includes 2024-02-14 10:26:11 +01:00
r8a779f0-sysc.c pmdomain: renesas: rcar-gen4-sysc: Remove unneeded includes 2024-02-14 10:26:11 +01:00
r8a779g0-sysc.c pmdomain: renesas: rcar-gen4-sysc: Remove unneeded includes 2024-02-14 10:26:11 +01:00
r8a779h0-sysc.c pmdomain: renesas: r8a779h0-sysc: Add r8a779h0 support 2024-02-14 10:26:11 +01:00
r8a7742-sysc.c
r8a7743-sysc.c
r8a7745-sysc.c
r8a7779-sysc.c
r8a7790-sysc.c
r8a7791-sysc.c
r8a7792-sysc.c
r8a7794-sysc.c
r8a7795-sysc.c
r8a77470-sysc.c
r8a77960-sysc.c pmdomain: renesas: rcar-sysc: Add R-Car M3-W power-off delay quirk 2024-04-18 16:52:00 +02:00
r8a77961-sysc.c pmdomain: renesas: rcar-sysc: Split R-Car M3-W and M3-W+ sub-drivers 2024-04-18 16:51:50 +02:00
r8a77965-sysc.c
r8a77970-sysc.c
r8a77980-sysc.c pmdomain: renesas: r8a77980-sysc: CR7 must be always on 2024-01-22 15:49:56 +01:00
r8a77990-sysc.c
r8a77995-sysc.c
rcar-gen4-sysc.c pmdomain: renesas: rcar-gen4-sysc: Don't keep unused PM domains powered-on 2025-09-11 12:36:50 +02:00
rcar-gen4-sysc.h pmdomain: renesas: r8a779h0-sysc: Add r8a779h0 support 2024-02-14 10:26:11 +01:00
rcar-sysc.c pmdomain: renesas: rcar-sysc: Don't keep unused PM domains powered-on 2025-09-11 12:36:43 +02:00
rcar-sysc.h pmdomain: renesas: rcar-sysc: Add R-Car M3-W power-off delay quirk 2024-04-18 16:52:00 +02:00
rmobile-sysc.c pmdomain: renesas: rmobile-sysc: Don't keep unused PM domains powered-on 2025-09-11 12:36:55 +02:00