]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa: Avoid fiddling with CKEN register on suspend
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 23 Jan 2008 12:33:31 +0000 (12:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:57 +0000 (15:07 +0000)
commit9512e0e2252130d005c8a260488bc346ca907a41
tree5d51c6dbf975700377fa6f81d158cdf939f053e2
parentada544d5e066429783c1a8c1e3abe5eda7f1ad20
[ARM] pxa: Avoid fiddling with CKEN register on suspend

The PXA manuals indicate that when in standby or sleep modes, clocks to
peripherals are shut off by the processor itself.  Eg:

PXA270 standby: "In standby mode, all clocks are disabled except those
 for the power manager and the RTC."

PXA270 sleep: "In sleep mode, all clocks are disabled to the processor
 and to all peripherals except the RTC."

PXA255 sleep: "In Sleep Mode, all processor and peripheral clocks are
 disabled, except the RTC."

Therefore, it should be safe to leave the clock enable register alone
prior to entering low power modes for these SoCs.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c