06cfa55694
Move register and other definitions out of the include/asm-arm/arch-s3c2410 into the the arch directories of include/asm-arm/plat-s3c24xx and include/asm-arm/plat-s3c. This move is in preperation of the merging of s3c2400 and s3c6400. The following git mv commands are needed before this patch can be applied: git mv include/asm-arm/arch-s3c2410/regs-ac97.h include/asm-arm/plat-s3c/regs-ac97.h git mv include/asm-arm/arch-s3c2410/regs-adc.h include/asm-arm/plat-s3c/regs-adc.h git mv include/asm-arm/arch-s3c2410/regs-iis.h include/asm-arm/plat-s3c24xx/regs-iis.h git mv include/asm-arm/arch-s3c2410/regs-spi.h include/asm-arm/plat-s3c24xx/regs-spi.h git mv include/asm-arm/arch-s3c2410/regs-udc.h include/asm-arm/plat-s3c24xx/regs-udc.h git mv include/asm-arm/arch-s3c2410/udc.h include/asm-arm/plat-s3c24xx/udc.h Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
78 lines
2.5 KiB
C
78 lines
2.5 KiB
C
/* linux/include/asm-arm/arch-s3c2410/regs-iis.h
|
|
*
|
|
* Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
|
|
* http://www.simtec.co.uk/products/SWLINUX/
|
|
*
|
|
* 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.
|
|
*
|
|
* S3C2410 IIS register definition
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_REGS_IIS_H
|
|
#define __ASM_ARCH_REGS_IIS_H
|
|
|
|
#define S3C2410_IISCON (0x00)
|
|
|
|
#define S3C2410_IISCON_LRINDEX (1<<8)
|
|
#define S3C2410_IISCON_TXFIFORDY (1<<7)
|
|
#define S3C2410_IISCON_RXFIFORDY (1<<6)
|
|
#define S3C2410_IISCON_TXDMAEN (1<<5)
|
|
#define S3C2410_IISCON_RXDMAEN (1<<4)
|
|
#define S3C2410_IISCON_TXIDLE (1<<3)
|
|
#define S3C2410_IISCON_RXIDLE (1<<2)
|
|
#define S3C2410_IISCON_PSCEN (1<<1)
|
|
#define S3C2410_IISCON_IISEN (1<<0)
|
|
|
|
#define S3C2410_IISMOD (0x04)
|
|
|
|
#define S3C2440_IISMOD_MPLL (1<<9)
|
|
#define S3C2410_IISMOD_SLAVE (1<<8)
|
|
#define S3C2410_IISMOD_NOXFER (0<<6)
|
|
#define S3C2410_IISMOD_RXMODE (1<<6)
|
|
#define S3C2410_IISMOD_TXMODE (2<<6)
|
|
#define S3C2410_IISMOD_TXRXMODE (3<<6)
|
|
#define S3C2410_IISMOD_LR_LLOW (0<<5)
|
|
#define S3C2410_IISMOD_LR_RLOW (1<<5)
|
|
#define S3C2410_IISMOD_IIS (0<<4)
|
|
#define S3C2410_IISMOD_MSB (1<<4)
|
|
#define S3C2410_IISMOD_8BIT (0<<3)
|
|
#define S3C2410_IISMOD_16BIT (1<<3)
|
|
#define S3C2410_IISMOD_BITMASK (1<<3)
|
|
#define S3C2410_IISMOD_256FS (0<<2)
|
|
#define S3C2410_IISMOD_384FS (1<<2)
|
|
#define S3C2410_IISMOD_16FS (0<<0)
|
|
#define S3C2410_IISMOD_32FS (1<<0)
|
|
#define S3C2410_IISMOD_48FS (2<<0)
|
|
#define S3C2410_IISMOD_FS_MASK (3<<0)
|
|
|
|
#define S3C2410_IISPSR (0x08)
|
|
#define S3C2410_IISPSR_INTMASK (31<<5)
|
|
#define S3C2410_IISPSR_INTSHIFT (5)
|
|
#define S3C2410_IISPSR_EXTMASK (31<<0)
|
|
#define S3C2410_IISPSR_EXTSHFIT (0)
|
|
|
|
#define S3C2410_IISFCON (0x0c)
|
|
|
|
#define S3C2410_IISFCON_TXDMA (1<<15)
|
|
#define S3C2410_IISFCON_RXDMA (1<<14)
|
|
#define S3C2410_IISFCON_TXENABLE (1<<13)
|
|
#define S3C2410_IISFCON_RXENABLE (1<<12)
|
|
#define S3C2410_IISFCON_TXMASK (0x3f << 6)
|
|
#define S3C2410_IISFCON_TXSHIFT (6)
|
|
#define S3C2410_IISFCON_RXMASK (0x3f)
|
|
#define S3C2410_IISFCON_RXSHIFT (0)
|
|
|
|
#define S3C2400_IISFCON_TXDMA (1<<11)
|
|
#define S3C2400_IISFCON_RXDMA (1<<10)
|
|
#define S3C2400_IISFCON_TXENABLE (1<<9)
|
|
#define S3C2400_IISFCON_RXENABLE (1<<8)
|
|
#define S3C2400_IISFCON_TXMASK (0x07 << 4)
|
|
#define S3C2400_IISFCON_TXSHIFT (4)
|
|
#define S3C2400_IISFCON_RXMASK (0x07)
|
|
#define S3C2400_IISFCON_RXSHIFT (0)
|
|
|
|
#define S3C2410_IISFIFO (0x10)
|
|
#endif /* __ASM_ARCH_REGS_IIS_H */
|