diff options
author | Dave Gerlach <d-gerlach@ti.com> | 2017-03-29 03:57:55 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-05-16 17:44:49 +0200 |
commit | 12b28ba6d6164d3aa54b7e32032bcbd9b7c2a320 (patch) | |
tree | f5674c45a945b90abbaf53adb53679e6911a65f7 /arch/arm/mach-spear | |
parent | ARM: OMAP: Wakeupgen: Add context save/restore for AM43XX (diff) | |
download | linux-12b28ba6d6164d3aa54b7e32032bcbd9b7c2a320.tar.xz linux-12b28ba6d6164d3aa54b7e32032bcbd9b7c2a320.zip |
ARM: OMAP2+: timer: Add suspend-resume callbacks for clkevent device
OMAP timer code registers two timers - one as clocksource
and one as clockevent. Since AM33XX has only one usable timer
in the WKUP domain one of the timers needs suspend-resume
support to restore the configuration to pre-suspend state.
commit adc78e6b9946 ("timekeeping: Add suspend and resume
of clock event devices") introduced .suspend and .resume
callbacks for clock event devices. Leverage these
callbacks to have AM33XX clockevent timer behave properly
across system suspend. Extend the use of the .suspend and
.resume callbacks used by am335x clockevent to am437x as well.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-spear')
0 files changed, 0 insertions, 0 deletions