]> err.no Git - linux-2.6/commitdiff
[ARM] 4586/1: S3C2412: power register updates
authorBen Dooks <ben-linux@fluff.org>
Sun, 30 Sep 2007 08:56:13 +0000 (09:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 22:43:28 +0000 (23:43 +0100)
Add the INFORM register block which are retained
over sleep.

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
include/asm-arm/arch-s3c2410/regs-s3c2412.h

index 94ff96505b6aadac08a88e0d6d171e4d242db7f1..f79987be55e8a66833b50ee82fc0b127d6ee9226 100644 (file)
 #define S3C2412_PWRMODECON     S3C24XX_PWRREG(0x20)
 #define S3C2412_PWRCFG         S3C24XX_PWRREG(0x24)
 
+#define S3C2412_INFORM0                S3C24XX_PWRREG(0x70)
+#define S3C2412_INFORM1                S3C24XX_PWRREG(0x74)
+#define S3C2412_INFORM2                S3C24XX_PWRREG(0x78)
+#define S3C2412_INFORM3                S3C24XX_PWRREG(0x7C)
+
 #define S3C2412_PWRCFG_BATF_IGNORE             (0<<0)
 #define S3C2412_PWRCFG_BATF_SLEEP              (3<<0)
 #define S3C2412_PWRCFG_BATF_MASK               (3<<0)
index 8ca6a3bc8555f38bd06db8520e7173e56c6cfd76..783b18f5bcea9e72a11bcc8ca721854172b26349 100644 (file)
@@ -17,5 +17,7 @@
 #define S3C2412_SWRST          (S3C24XX_VA_CLKPWR + 0x30)
 #define S3C2412_SWRST_RESET    (0x533C2412)
 
+/* see regs-power.h for the other registers in the power block. */
+
 #endif /* __ASM_ARCH_REGS_S3C2412_H */