]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 17 Aug 2012 17:38:45 +0000 (19:38 +0200)
commit86710e57cb2adbc3fc25623e86889ec1c5f48310
tree1bb1ec2e221cf2bac2c08b9a4ce48a46713f74c5
parent29d189057f1aba4a30e0131b8f0522507c434101
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