AT91: fix use of clock disable on idle for AT91x40 devices
authorGreg Ungerer <gerg@snapgear.com>
Tue, 21 Sep 2010 10:39:40 +0000 (20:39 +1000)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 7 Oct 2010 17:56:54 +0000 (19:56 +0200)
commitcb809b1a5ebffca8cf0314b788919989e8e4ab5f
treefec437f53dbc5dd30b7289415ce731ec5db1b5f2
parenta6e016f19d393fbe4e040bee8155b03b840fa689
AT91: fix use of clock disable on idle for AT91x40 devices

The simpler AT91x40 processors do not have the same power management
controller as the new AT91 devices. They do have a simpler power
controller module that we can use to disable the CPU clock at idle
time. Add code to support that.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/include/mach/at91x40.h
arch/arm/mach-at91/include/mach/system.h