Skip to content

Commit

Permalink
[ARM] 4586/1: S3C2412: power register updates
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and Russell King committed Oct 12, 2007
1 parent 180005c commit 987240c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-arm/arch-s3c2410/regs-power.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
#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)
Expand Down
2 changes: 2 additions & 0 deletions include/asm-arm/arch-s3c2410/regs-s3c2412.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 987240c

Please sign in to comment.