diff options
| author | Ben Dooks <ben-linux@org.rmk.(none)> | 2004-11-09 10:01:11 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-11-09 10:01:11 +0000 |
| commit | be6f72aa718d9d7ed053298b85a9dca1d5c338d5 (patch) | |
| tree | 1c7acdf7bfbf7e21f845bf6ddcb795ca4843baa1 /include | |
| parent | ae551312dea55aff5f446024d41ac361126dbc18 (diff) | |
[ARM PATCH] 2215/1: S3C2410 - i2c registers for s3c2440a
Patch from Ben Dooks
Added S3C2440_IICLC register definitions
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/arch-s3c2410/regs-iic.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/regs-iic.h b/include/asm-arm/arch-s3c2410/regs-iic.h index 381ab4baf208..fed3288e2046 100644 --- a/include/asm-arm/arch-s3c2410/regs-iic.h +++ b/include/asm-arm/arch-s3c2410/regs-iic.h @@ -11,6 +11,7 @@ * * Changelog: * 03-Oct-2004 BJD Initial include for Linux + * 08-Nov-2004 BJD Added S3C2440 filter register */ #ifndef __ASM_ARCH_REGS_IIC_H @@ -24,6 +25,7 @@ #define S3C2410_IICSTAT S3C2410_IICREG(0x04) #define S3C2410_IICADD S3C2410_IICREG(0x08) #define S3C2410_IICDS S3C2410_IICREG(0x0C) +#define S3C2440_IICLC S3C2410_IICREG(0x10) #define S3C2410_IICCON_ACKEN (1<<7) #define S3C2410_IICCON_TXDIV_16 (0<<6) @@ -47,4 +49,12 @@ #define S3C2410_IICSTAT_ADDR0 (1<<1) #define S3C2410_IICSTAT_LASTBIT (1<<0) +#define S3C2410_IICLC_SDA_DELAY0 (0 << 0) +#define S3C2410_IICLC_SDA_DELAY5 (1 << 0) +#define S3C2410_IICLC_SDA_DELAY10 (2 << 0) +#define S3C2410_IICLC_SDA_DELAY15 (3 << 0) +#define S3C2410_IICLC_SDA_DELAY_MASK (3 << 0) + +#define S3C2410_IICLC_FILTER_ON (1<<2) + #endif /* __ASM_ARCH_REGS_IIC_H */ |
