diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 12:14:55 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 18:56:41 -0500 |
commit | 1aba834da12989bb769d1dcbf6b0ea29f730c92c (patch) | |
tree | 4f06c055eb265919ab137a49a21d3a5ace5d393d /arch/arm/plat-s3c64xx | |
parent | 8f995cc3ac94b114fe84782b023d8706d1adf960 (diff) |
[ARM] S3C: Add i2c1 device definition
Add device definition and support functions for the
second i2c device (i2c1). If this is selected, the first
i2c bus will become index 0 instead of index -1.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx')
-rw-r--r-- | arch/arm/plat-s3c64xx/include/plat/irqs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c64xx/include/plat/irqs.h b/arch/arm/plat-s3c64xx/include/plat/irqs.h index bc25689c3f83..02e8dd4c97d5 100644 --- a/arch/arm/plat-s3c64xx/include/plat/irqs.h +++ b/arch/arm/plat-s3c64xx/include/plat/irqs.h | |||
@@ -70,6 +70,7 @@ | |||
70 | #define IRQ_CAMIF_C S3C64XX_IRQ_VIC0(3) | 70 | #define IRQ_CAMIF_C S3C64XX_IRQ_VIC0(3) |
71 | #define IRQ_CAMIF_P S3C64XX_IRQ_VIC0(4) | 71 | #define IRQ_CAMIF_P S3C64XX_IRQ_VIC0(4) |
72 | #define IRQ_CAMIF_MC S3C64XX_IRQ_VIC0(5) | 72 | #define IRQ_CAMIF_MC S3C64XX_IRQ_VIC0(5) |
73 | #define IRQ_S3C6410_IIC1 S3C64XX_IRQ_VIC0(5) | ||
73 | #define IRQ_S3C6410_IIS S3C64XX_IRQ_VIC0(6) | 74 | #define IRQ_S3C6410_IIS S3C64XX_IRQ_VIC0(6) |
74 | #define IRQ_S3C6400_CAMIF_MP S3C64XX_IRQ_VIC0(6) | 75 | #define IRQ_S3C6400_CAMIF_MP S3C64XX_IRQ_VIC0(6) |
75 | #define IRQ_CAMIF_WE_C S3C64XX_IRQ_VIC0(7) | 76 | #define IRQ_CAMIF_WE_C S3C64XX_IRQ_VIC0(7) |
@@ -144,6 +145,10 @@ | |||
144 | #define IRQ_TIMER3 S3C64XX_TIMER_IRQ(3) | 145 | #define IRQ_TIMER3 S3C64XX_TIMER_IRQ(3) |
145 | #define IRQ_TIMER4 S3C64XX_TIMER_IRQ(4) | 146 | #define IRQ_TIMER4 S3C64XX_TIMER_IRQ(4) |
146 | 147 | ||
148 | /* compatibility for device defines */ | ||
149 | |||
150 | #define IRQ_IIC1 IRQ_S3C6410_IIC1 | ||
151 | |||
147 | /* Since the IRQ_EINT(x) are a linear mapping on current s3c64xx series | 152 | /* Since the IRQ_EINT(x) are a linear mapping on current s3c64xx series |
148 | * we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE | 153 | * we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE |
149 | * which we place after the pair of VICs. */ | 154 | * which we place after the pair of VICs. */ |