summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm644x-evm.c
diff options
context:
space:
mode:
authorPhilby John <pjohn@in.mvista.com>2010-01-11 11:23:31 +0100
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 22:30:06 +0100
commit00642f6616a0d1893ab1dcfec4d833210f310e95 (patch)
tree1ae6009b615b4039d8fb80145c31e0ec8da65a57 /arch/arm/mach-davinci/board-dm644x-evm.c
parentdavinci: da8xx/omap-l1xx: Add EDMA platform data for da850/omap-l138 (diff)
downloadlinux-00642f6616a0d1893ab1dcfec4d833210f310e95.tar.xz
linux-00642f6616a0d1893ab1dcfec4d833210f310e95.zip
Add SDA and SCL pin numbers to i2c platform data
Patch adds SDA and SCL pin numbers to the i2c platform data structure for Davinci DM355 and DM6446. This at present is used for i2c bus recovery. TODO: Add SDA and SCL pin number information to include all Davinci platforms such as dm355-leopard, dm365, dm646x, da8xx etc. Signed-off-by: Philby John <pjohn@in.mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm644x-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm644x-evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
index e9612cf727b7..976e11b7fa4a 100644
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -629,6 +629,8 @@ static struct i2c_board_info __initdata i2c_info[] = {
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 20 /* kHz */,
.bus_delay = 100 /* usec */,
+ .sda_pin = 44,
+ .scl_pin = 43,
};
static void __init evm_init_i2c(void)