ARM: OMAP2+: pm33xx-core: Add cpu_suspend to platform_data ops for pm33xx
authorDave Gerlach <d-gerlach@ti.com>
Fri, 2 Nov 2018 10:29:47 +0000 (15:59 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:25:29 +0000 (15:25 +0200)
commit8e1222d58bf244b7d05e3fc9940d7fce944a10b3
tree53a141a16b8abebe50a12322a116d1e33f2a6827
parent5f5a800e1605456c0028fd7b855baa5ef719b596
ARM: OMAP2+: pm33xx-core: Add cpu_suspend to platform_data ops for pm33xx

Currently an soc_suspend function is exposed by the pm33xx platform code
but this contains additional operations needed for full SoC suspend
beyond what is needed for a relatively simple CPU suspend needed during
cpuidle. To get around this introduce cpu_suspend ops to be used by the
am335x and am437x PM driver for the last stage of cpuidle path.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-omap2/pm33xx-core.c
include/linux/platform_data/pm33xx.h