-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARM] S3C64XX: Add modem registers and a virtual map
Add the modem registers and a virtual mapping for the modem block. This is is required as there are registers that control the LCD block that need to be saved over suspend as well as interrupt controls. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
- Loading branch information
Ben Dooks
committed
Mar 10, 2009
1 parent
1264fa6
commit 5b3d515
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* arch/arm/plat-s3c64xx/include/plat/regs-modem.h | ||
* | ||
* Copyright 2008 Openmoko, Inc. | ||
* Copyright 2008 Simtec Electronics | ||
* http://armlinux.simtec.co.uk/ | ||
* Ben Dooks <ben@simtec.co.uk> | ||
* | ||
* S3C64XX - modem block registers | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef __PLAT_S3C64XX_REGS_MODEM_H | ||
#define __PLAT_S3C64XX_REGS_MODEM_H __FILE__ | ||
|
||
#define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x)) | ||
|
||
#define S3C64XX_MODEM_INT2AP S3C64XX_MODEMREG(0x0) | ||
#define S3C64XX_MODEM_INT2MODEM S3C64XX_MODEMREG(0x4) | ||
#define S3C64XX_MODEM_MIFCON S3C64XX_MODEMREG(0x8) | ||
#define S3C64XX_MODEM_MIFPCON S3C64XX_MODEMREG(0xC) | ||
#define S3C64XX_MODEM_INTCLR S3C64XX_MODEMREG(0x10) | ||
#define S3C64XX_MODEM_DMA_TXADDR S3C64XX_MODEMREG(0x14) | ||
#define S3C64XX_MODEM_DMA_RXADDR S3C64XX_MODEMREG(0x18) | ||
|
||
#define MIFPCON_INT2M_LEVEL (1 << 4) | ||
#define MIFPCON_LCD_BYPASS (1 << 3) | ||
|
||
#endif /* __PLAT_S3C64XX_REGS_MODEM_H */ |