]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: sleep33/43xx: Make sleep actions configurable
authorDave Gerlach <d-gerlach@ti.com>
Mon, 9 Jul 2018 07:33:16 +0000 (13:03 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Jul 2018 06:01:34 +0000 (23:01 -0700)
commitc995ea22311e96cb281fb8453653fad907565b45
tree236b3f2e858af9d8649d1794dd37321f37153547
parente3c8c56f8f0fcc565c3f49a5108d9107d5ee2418
ARM: OMAP2+: sleep33/43xx: Make sleep actions configurable

Add an argument to the sleep33xx and sleep43xx code to allow us to set
flags to determine which portions of the code get called in order to use
the same code for multiple power saving modes. This patch allows us to
decide whether or not we flush and disable caches, save EMIF context,
put the memory into self refresh and disable the EMIF, and/or invoke
the wkup_m3 when entering into WFI.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm33xx-core.c
arch/arm/mach-omap2/sleep33xx.S
arch/arm/mach-omap2/sleep43xx.S
drivers/soc/ti/pm33xx.c
include/linux/platform_data/pm33xx.h