]> git.baikalelectronics.ru Git - kernel.git/commit
soc: ti: pm33xx: Simplify RTC usage to prepare to drop platform data
authorTony Lindgren <tony@atomide.com>
Fri, 3 Jul 2020 16:07:29 +0000 (09:07 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 24 Aug 2020 05:38:32 +0000 (08:38 +0300)
commit2152fbbd47c06c4f50ad265ec1b0c43673bee3e8
treec5906fa570160bd33c6d16ce46f206882efdbe5c
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
soc: ti: pm33xx: Simplify RTC usage to prepare to drop platform data

We must re-enable the RTC module clock enabled in RTC+DDR suspend, and
pm33xx has been using platform data callbacks for that. Looks like for
retention suspend the RTC module clock must not be re-enabled.

To remove the legacy platform data callbacks, and eventually be able to
drop the RTC legacy platform data, let's manage the RTC module clock
and register range directly in pm33xx.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm33xx-core.c
drivers/soc/ti/pm33xx.c
include/linux/platform_data/pm33xx.h