mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
[ARM] 4586/1: S3C2412: power register updates
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>
This commit is contained in:
parent
180005c4ef
commit
987240cc01
2 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue