diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 16:14:57 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 16:17:43 +0000 |
commit | 22c50fdd366599a9de9d7b0ec5f8784df5039769 (patch) | |
tree | f7f0582cf1c1c56df45b1965a630a3a0ad786fad /arch | |
parent | 194d91535a4e33b3a646cc256ac5f5a4a85baf55 (diff) |
[ARM] SMDK6410: Add second I2C channel.
Add the second I2C channel on the SMDK6410.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c6410/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/Kconfig b/arch/arm/mach-s3c6410/Kconfig index 32bdc93fc1f..2462693a112 100644 --- a/arch/arm/mach-s3c6410/Kconfig +++ b/arch/arm/mach-s3c6410/Kconfig @@ -23,6 +23,8 @@ config MACH_SMDK6410 bool "SMDK6410" select CPU_S3C6410 select S3C_DEV_HSMMC + select S3C_DEV_I2C1 select S3C6410_SETUP_SDHCI + select S3C64XX_SETUP_I2C1 help Machine support for the Samsung SMDK6410 diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index d58c83d31a0..8d7101aab75 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -65,6 +65,7 @@ struct map_desc smdk6410_iodesc[] = {}; static struct platform_device *smdk6410_devices[] __initdata = { &s3c_device_hsmmc0, &s3c_device_i2c0, + &s3c_device_i2c1, }; extern void s3c64xx_init_io(struct map_desc *, int); @@ -79,6 +80,7 @@ static void __init smdk6410_map_io(void) static void __init smdk6410_machine_init(void) { s3c_i2c0_set_platdata(NULL); + s3c_i2c1_set_platdata(NULL); platform_add_devices(smdk6410_devices, ARRAY_SIZE(smdk6410_devices)); } |