sh: TMU: Introduce clocksource/clock events suspend/resume routines
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 5 Aug 2012 23:41:20 +0000 (01:41 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 3 Sep 2012 23:36:02 +0000 (01:36 +0200)
commiteaa49a8cd1f98a6486413d902e7304df026a1fa9
tree4a7a45fb9dafa742e698a5cc7d00890fb01a4b52
parentadc78e6b9946a4b22e22403d961f3b03c469e5d3
sh: TMU: Introduce clocksource/clock events suspend/resume routines

Introduce suspend/resume routines for SH TMU clock source and
clock event device such that if those devices belong to a PM domain,
the generic PM domains framework will be notified that the given
domain may be turned off (during system suspend) or that it has to
be turned on (during system resume).

This change allows the A4R domain on SH7372 to be turned off during
system suspend (tested on the Mackerel board) if the TMU clock source
and/or clock event device is in use.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
drivers/clocksource/sh_tmu.c
This page took 0.024742 seconds and 5 git commands to generate.