OpenCloudOS-Kernel/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 soc: renesas: rcar-sysc: add R8A77970 support 2017-09-18 09:46:50 +02:00
Makefile ARM: SoC driver updates for v4.15 2017-11-16 16:05:01 -08:00
r8a7743-sysc.c soc: renesas: rcar-sysc: add R8A7743 support 2016-10-17 08:21:20 +02:00
r8a7745-sysc.c soc: renesas: rcar-sysc: add R8A7745 support 2016-11-23 14:28:41 +01:00
r8a7779-sysc.c soc: renesas: rcar-sysc: Add support for R-Car H1 power areas 2016-04-26 09:56:35 +10:00
r8a7790-sysc.c soc: renesas: rcar-sysc: Add support for R-Car H2 power areas 2016-04-26 09:56:35 +10:00
r8a7791-sysc.c soc: renesas: rcar-sysc: Add support for R-Car M2-W power areas 2016-04-26 09:56:36 +10:00
r8a7792-sysc.c soc: renesas: rcar-sysc: add R8A7792 support 2016-06-16 10:53:57 +09:00
r8a7794-sysc.c soc: renesas: rcar-sysc: Add support for R-Car E2 power areas 2016-04-26 09:56:37 +10:00
r8a7795-sysc.c soc: renesas: rcar-sysc: Add support for R-Car H3 ES2.0 2017-04-07 13:53:41 -04:00
r8a7796-sysc.c soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas 2016-06-06 10:14:21 +09:00
r8a77970-sysc.c soc: renesas: rcar-sysc: add R8A77970 support 2017-09-18 09:46:50 +02:00
r8a77995-sysc.c soc: renesas: rcar-sysc: Add support for R-Car D3 power areas 2017-07-27 17:08:04 +02:00
rcar-rst.c soc: renesas: rcar-rst: add R8A77970 support 2017-09-18 07:59:55 +02:00
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 soc: renesas: rcar-sysc: add R8A77970 support 2017-09-18 09:46:50 +02:00
renesas-soc.c soc: renesas: Identify R-Car M3-W ES1.1 2017-11-27 11:40:57 +01:00