android_kernel_xiaomi_sm7250/drivers/soc/renesas
Geert Uytterhoeven 91c719f5ec soc: renesas: rcar-sysc: Keep wakeup sources active during system suspend
If an R-Car SYSC slave device is part of the CPG/MSTP or CPG/MSSR Clock
Domain and to be used as a wakeup source, it must be kept active during
system suspend.

Currently this is handled in device-specific drivers by explicitly
increasing the use count of the module clock when the device is
configured as a wakeup source.  However, the proper way to prevent the
device from being stopped is to inform this requirement to the genpd
core, by setting the GENPD_FLAG_ACTIVE_WAKEUP flag.

Note that this will only affect devices configured as wakeup sources.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-12-20 11:16:05 +01:00
..
Kconfig
Makefile
r8a7743-sysc.c
r8a7745-sysc.c
r8a7779-sysc.c
r8a7790-sysc.c
r8a7791-sysc.c
r8a7792-sysc.c
r8a7794-sysc.c
r8a7795-sysc.c
r8a7796-sysc.c
r8a77970-sysc.c
r8a77995-sysc.c
rcar-rst.c
rcar-sysc.c soc: renesas: rcar-sysc: Keep wakeup sources active during system suspend 2017-12-20 11:16:05 +01:00
rcar-sysc.h
renesas-soc.c