Commit 79d08efa authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2407/1: S3C2410 - remove fixed base from IIS registers

Patch from Ben Dooks

Remove the fixed base address from the IIS registers, and
add missing defines for the IISPSR register

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent bd24a6bd
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#ifndef __ASM_ARCH_REGS_IIS_H #ifndef __ASM_ARCH_REGS_IIS_H
#define __ASM_ARCH_REGS_IIS_H #define __ASM_ARCH_REGS_IIS_H
#define S3C2410_IISCON (S3C2410_VA_IIS + 0x00) #define S3C2410_IISCON (0x00)
#define S3C2410_IISCON_LRINDEX (1<<8) #define S3C2410_IISCON_LRINDEX (1<<8)
#define S3C2410_IISCON_TXFIFORDY (1<<7) #define S3C2410_IISCON_TXFIFORDY (1<<7)
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define S3C2410_IISCON_RXIDLE (1<<2) #define S3C2410_IISCON_RXIDLE (1<<2)
#define S3C2410_IISCON_IISEN (1<<0) #define S3C2410_IISCON_IISEN (1<<0)
#define S3C2410_IISMOD (S3C2410_VA_IIS + 0x04) #define S3C2410_IISMOD (0x04)
#define S3C2410_IISMOD_SLAVE (1<<8) #define S3C2410_IISMOD_SLAVE (1<<8)
#define S3C2410_IISMOD_NOXFER (0<<6) #define S3C2410_IISMOD_NOXFER (0<<6)
...@@ -48,16 +48,20 @@ ...@@ -48,16 +48,20 @@
#define S3C2410_IISMOD_32FS (1<<0) #define S3C2410_IISMOD_32FS (1<<0)
#define S3C2410_IISMOD_48FS (2<<0) #define S3C2410_IISMOD_48FS (2<<0)
#define S3C2410_IISPSR (S3C2410_VA_IIS + 0x08) #define S3C2410_IISPSR (0x08)
#define S3C2410_IISPSR_INTMASK (31<<5)
#define S3C2410_IISPSR_INTSHFIT (5)
#define S3C2410_IISPSR_EXTMASK (31<<0)
#define S3C2410_IISPSR_EXTSHFIT (0)
#define S3C2410_IISFCON (S3C2410_VA_IIS + 0x0c) #define S3C2410_IISFCON (0x0c)
#define S3C2410_IISFCON_TXDMA (1<<15) #define S3C2410_IISFCON_TXDMA (1<<15)
#define S3C2410_IISFCON_RXDMA (1<<14) #define S3C2410_IISFCON_RXDMA (1<<14)
#define S3C2410_IISFCON_TXENABLE (1<<13) #define S3C2410_IISFCON_TXENABLE (1<<13)
#define S3C2410_IISFCON_RXENABLE (1<<12) #define S3C2410_IISFCON_RXENABLE (1<<12)
#define S3C2410_IISFIFO (S3C2410_VA_IIS + 0x10) #define S3C2410_IISFIFO (0x10)
#endif /* __ASM_ARCH_REGS_IIS_H */ #endif /* __ASM_ARCH_REGS_IIS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment