diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-05-20 08:13:06 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 11:21:34 +0200 |
commit | c8d833bf5830f141c4680dae8f617d0d0a33605d (patch) | |
tree | ad73e8b8d4d558d1fc60e0a8841947e279198962 /arch/arm/mach-s5pv210/cpu.c | |
parent | ARM: S5PV210: add framebuffer platform helpers for s5pv210 based machines (diff) | |
download | linux-c8d833bf5830f141c4680dae8f617d0d0a33605d.tar.xz linux-c8d833bf5830f141c4680dae8f617d0d0a33605d.zip |
ARM: S5PV210: add common I2C device helpers
This patch adds I2C platform helpers required by s3c2440-i2c driver.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/cpu.c')
-rw-r--r-- | arch/arm/mach-s5pv210/cpu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 2b776eb5d150..2d4a3d2221c5 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c @@ -32,6 +32,7 @@ #include <plat/devs.h> #include <plat/clock.h> #include <plat/s5pv210.h> +#include <plat/iic-core.h> /* Initial IO mappings */ @@ -75,6 +76,11 @@ static void s5pv210_idle(void) void __init s5pv210_map_io(void) { iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); + + /* the i2c devices are directly compatible with s3c2440 */ + s3c_i2c0_setname("s3c2440-i2c"); + s3c_i2c1_setname("s3c2440-i2c"); + s3c_i2c2_setname("s3c2440-i2c"); } void __init s5pv210_init_clocks(int xtal) |