[ARM] 4720/1: S3C2412: Add power configuration registers for battery flat behaviour.
authorBen Dooks <ben-linux@fluff.org>
Sun, 23 Dec 2007 02:09:28 +0000 (03:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:48 +0000 (13:20 +0000)
Add the S3C2412_PWRCFG values for the action taken on detecting that
the battery is flat.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-s3c2410/regs-power.h

index f79987be55e8a66833b50ee82fc0b127d6ee9226..13d13b7cfe98165473a74b02fd8d0e868452c2b7 100644 (file)
@@ -23,7 +23,8 @@
 #define S3C2412_INFORM2                S3C24XX_PWRREG(0x78)
 #define S3C2412_INFORM3                S3C24XX_PWRREG(0x7C)
 
-#define S3C2412_PWRCFG_BATF_IGNORE             (0<<0)
+#define S3C2412_PWRCFG_BATF_IRQ                        (1<<0)
+#define S3C2412_PWRCFG_BATF_IGNORE             (2<<0)
 #define S3C2412_PWRCFG_BATF_SLEEP              (3<<0)
 #define S3C2412_PWRCFG_BATF_MASK               (3<<0)