aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/cpu.c
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2009-11-17 02:41:21 -0500
committerBen Dooks <ben-linux@fluff.org>2009-11-30 20:33:16 -0500
commit5eda288fa96cac0b0f25c90249f5347c6c62da0e (patch)
treea1d6ba628da20196248e548b65bfbad5cd4ac983 /arch/arm/mach-s5pc100/cpu.c
parent079b03241765f0a31c4bfdefd277452399dbafc9 (diff)
ARM: S5PC1xx: add platform helpers for i2c adapter devices
Samsung S5PC100 has I2C bus controller compatible with the one known from previous SoCs series. Add required platform setup and support code that it can be used with s3c2410-i2c driver. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pc100/cpu.c')
-rw-r--r--arch/arm/mach-s5pc100/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/cpu.c b/arch/arm/mach-s5pc100/cpu.c
index a23ca5795bc8..1319e3d0ec39 100644
--- a/arch/arm/mach-s5pc100/cpu.c
+++ b/arch/arm/mach-s5pc100/cpu.c
@@ -75,6 +75,10 @@ void __init s5pc100_map_io(void)
75 iotable_init(s5pc100_iodesc, ARRAY_SIZE(s5pc100_iodesc)); 75 iotable_init(s5pc100_iodesc, ARRAY_SIZE(s5pc100_iodesc));
76 76
77 /* initialise device information early */ 77 /* initialise device information early */
78
79 /* the i2c devices are directly compatible with s3c2440 */
80 s3c_i2c0_setname("s3c2440-i2c");
81 s3c_i2c1_setname("s3c2440-i2c");
78} 82}
79 83
80void __init s5pc100_init_clocks(int xtal) 84void __init s5pc100_init_clocks(int xtal)